sanketgupta1000 / Breakout

A breakout game created using HTML, and JS. Took reference from Gamedev Canvas Tutorial available on MDN. Improved the collision detection mechanism.

Home Page:http://breakout.great-site.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breakout

A breakout game created using HTML, and JS

image

How to setup game?

  • Clone this repository in you local computer.
  • That's it! Start game.html and have fun!

Controls

  • Three control schemes:
  1. Use left and right arrow keys to control paddle.
  2. Move mouse inside red canvas box to control paddle.
  3. Touch controls for mobile phone users.

Rules

  1. Control ball using paddle to break bricks and earn scores
  2. Initially, user has 3 lives, you lose a life for each missed ball.
  3. Game is over when no lives are remaining.
  4. Ball speed increases after every certain number of collisions with bricks.

About

A breakout game created using HTML, and JS. Took reference from Gamedev Canvas Tutorial available on MDN. Improved the collision detection mechanism.

http://breakout.great-site.net/


Languages

Language:JavaScript 93.0%Language:HTML 7.0%