Giter Club home page Giter Club logo

car-collision-game's Introduction

CAR-COLLISION-GAME

I have built a car collision game which uses JavaScript concepts for its working and HTML, CSS are used for its structure and designing. I have created this game with a clean user interface that can be used by users easily. I will start by creating the HTML layout first that defines the structure of the game, make it look good by styling using CSS and then write the game logic for all the functions in JavaScript. I have used Play/pause button for better interaction. I am also calculating the live scores for the session. It is a typical car collision game which I are playing from our old times in the keypad phone. In order to play this game, you must click on the start button then play button. You can play this game with the arrow keys and touch pad for moving left, right. When your car collides with another car coming from opposite direction, you will lose. And the score and restart button displayed on the screen.


This game reinforces JavaScript concepts for running the game. In this game, You have a car and its work is not to collide the vehicle coming from different direction. To play the game, I must follow these steps:-

• Firstly, you will see the display screen consisting of three buttons start, help and exit.

• To start the game, I need to press START BUTTON and then PLAY BUTTON.

• If you want to see the instruction of the game press the HELP BUTTON.

• If you want to exit the game press the EXIT Button.

• To move the car, use “left arrow” for left, “right arrow” for right.

• The aim of the game is to avoid the car coming from different direction.

• You get scored according to the avoiding the car.

• There is no concept of lives, once your car collides to another vehicle, the game overs here.

• At the end you’ll see the GAME OVER!!! Message and the RESTART BUTTON.


you can read full documentation of this project here

FINAL Project.pdf

car-collision-game's People

Contributors

ashish3281 avatar

Stargazers

 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.