The player guides a pixelated T-rex across a side-scrolling landscape, avoiding obstacles to achieve a higher score.
- The T-rex runs from the left of the screen.
- The user controls this dinosaur to jump by hitting a key to jump over obstacles.
- There is one coin randomly displayed on the top of some obstacles.
- A score is maintained and displayed on the top of the screen.
- When the user jump over one obstacle and gain one coin, this coin disappears and the score increased by 1.
- A running distance is maintained and displayed on the top right of the screen.
- When this dinosaur runs without hitting the obstacle, running distance keeps increasing.
- When this dinosaur hits the obstacle, this game ends and the running distance is displayed with a text—“game over” on the center of the screen.
- A start again button shows up when game ends.