Git Product home page Git Product logo

dino-game's Introduction

Dino-Game

The player guides a pixelated T-rex across a side-scrolling landscape, avoiding obstacles to achieve a higher score.

About the game

  1. The T-rex runs from the left of the screen.
  2. The user controls this dinosaur to jump by hitting a key to jump over obstacles.
  3. There is one coin randomly displayed on the top of some obstacles.
  4. A score is maintained and displayed on the top of the screen.
  5. When the user jump over one obstacle and gain one coin, this coin disappears and the score increased by 1.
  6. A running distance is maintained and displayed on the top right of the screen.
  7. When this dinosaur runs without hitting the obstacle, running distance keeps increasing.
  8. 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.
  9. A start again button shows up when game ends.

dino-game's People

Contributors

enjae avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.