jsmuster / brickbreaker

A Brick Breaker Game with a custom physics engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brick Breaker!

Starting

The game uses local cache which can not be used locally. Run npm start to start the project.

Game Play Instructions

press:

  • d - to enter debug mode, then use ] key to move on a frame by frame basis. Exit debug mode by pressing "d" again. You can restart the browser and the ball will stay at that same point for next game.

  • n - move to next level space - restarts the current level

  • r - restarts the game from level 1

Also, if you hit the ball while the platform is moving fast the ball will gain speed. You can also move the platform back and forth to gain "speed points" which causes the ball to bounce off the platform and gain speed.

Ball loses speed for a short while after hitting a brick.

The game will start at last level, it doesn't restart the entire game, even when you reload the browser page

About

A Brick Breaker Game with a custom physics engine


Languages

Language:JavaScript 90.8%Language:CSS 7.3%Language:HTML 1.9%