https://github.com/bennycode/html5-breakout-game
https://github.com/bennycode/html5-breakout-game
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bennycode/html5-breakout-game
- Owner: bennycode
- Created: 2013-09-26T07:58:44.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-27T11:37:08.000Z (over 11 years ago)
- Last Synced: 2025-01-27T23:47:02.022Z (5 months ago)
- Language: JavaScript
- Size: 1.08 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
HTML5 Breakout game
===================Preamble
------
The initial code of this HTML5 Breakout game comes from a short break hack and will be refactored step by step. The refactoring is part of a book on JavaScript refactoring patterns from Benny Neugebauer.How to play the game
------
In the game, a layer of bricks lines the top of the screen. The player has a paddle and a ball which jumps over the screen. When a brick is hit, the ball bounces away and the brick is destroyed. The goal is to destroy all the bricks on the field.Controls
------
You can move the paddle by clicking with the mouse in the canvas and then move the mouse.Author
------
Benny Neugebauer