Skip to content

anguyen6262/Break-Out

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Break-Out

Project Description

This is a homework assignment from a class I took at Macalester College. I was given no starter code. The assigment is to recreate the game Breakout. The objective of the game is to hit the ball with a paddle until all the bricks on the screen are gone. If the ball travels under the paddle the player loses 1 life. When the player has no lives left, they lose the game. Players start with 5 lives.

Features

  • A 10x10 grid of bricks.
  • A paddle that moves horizontally according to the position of the mouse pointer.
  • A ball that bounces of the paddle, bricks, and borders of the canvas.
  • If a ball comes into contact with a brick, that brick is removed from the canvas.

Challenges

  • Making the ball be able to interact with the bricks.
  • Implementing the trajectory of the ball when it bounces off of an object.

Possible Extensions

  • Make a menu screen
  • screens for when the player loses or wins.
  • Create a graphic to indicate how many lives the player has.

Acknowledgements

  • Class preceptors

About

A recreation of Break-Out

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published