Skip to content

Customized clone of the classic 2D arcade game, Breakout! JS and canvas

Notifications You must be signed in to change notification settings

AnniePawl/breakout-game

Repository files navigation

Breakout Game

A clone of the classic arcade game, Breakout.
Written in pure JavaScript and rendered on HTML5 <canvas>

Game Plan

  • Create canvas
  • Create ball object
  • Get ball moving
  • Create paddle object
  • Enable keyboard control of paddle
  • Enable mouse control of paddle
  • Create Brick Feild
  • Implement Collision Detection
  • Track Score and Lives
  • Game over, alert box

Stretch Challenges

  • Play with colors
    • add gradient background
    • try a rainbow backgound
    • try a target backgound
    • randomize brick colors
  • Resize and stagger bricks
  • Refactor
    • create classes
    • dependancy injection

About

Customized clone of the classic 2D arcade game, Breakout! JS and canvas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published