Skip to content

Breakout Game Using P5.js (Day 20 of My Challenge)

Notifications You must be signed in to change notification settings

zsoltime/breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Day 20 of My 3 Weeks Game Challenge

Today's game was originally built by Steve Wozniak and Steve Jobs. It's Breakout, using P5.js.

User Stories

  • I can see eight rows of bricks on start, with each two rows a different colour
  • I can move the paddle with my arrow keys
  • I can use my paddle to hit back a ball
  • I can eliminate the bricks by hitting the ball against them
  • If I miss the ball's rebound, I lose a life
  • Once I hit the upper wall, my paddle shrinks to one-half of its size
  • I can see my score
  • I can earn points for every brick knocked down

Next Steps

I don't really like that the ball is simply changing its Y position when hits the moving paddle. If the paddle is in move when the ball touches it, the ball should have a slightly different direction depending on the direction of the movement.