Skip to content

ytang913/Breakout-Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Breakout Pygame

About

This project is a Breakout game

The user can start up the game and then the ball will bounce from the paddle and hits the block

The user can move the paddle left or right using the left or right keys on the computer

If the ball misses the paddle the user will lose the game and will asked to restart the game to play again

Documentation

This project was made using Python and Pygame

Pygame is used to create the screen, starting up the game, ending the game, and displaying the title of the game

Python Classes are used to create the ball and paddle and within the Classes are functions that are used for the ball and paddle collisions and reset.

A while loop is used for running the game and within it are for loops and if/else statements

Result when the user opens up the application

Result when the user is playing the game

Result when the user loses the game

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages