Skip to content

Instantly share code, notes, and snippets.

View AsedaDeveloper's full-sized avatar

AsedaDeveloper

  • Ghana, Accra
  • 08:33 (UTC -12:00)
View GitHub Profile
var PLAY = 1;
var END = 0;
var gameState = PLAY;
var trex, trex_running, trex_collided;
var ground, invisibleGround, groundImage;
var cloud, cloudsGroup, cloudImage;
var obstaclesGroup, obstacle1, obstacle2, obstacle3, obstacle4, obstacle5, obstacle6;