Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.07 KB

File metadata and controls

35 lines (23 loc) · 1.07 KB

🧱 Breakout Game in Python

This is a simple Breakout-style arcade game built using Python's turtle graphics library. The game features a paddle, bouncing ball, colorful bricks, score tracking, lives, and restart functionality.

🎮 How to Play

  • Use the Left and Right arrow keys to move the paddle.
  • Bounce the ball to break all the bricks.
  • You lose a life if the ball falls below the paddle.
  • The game ends when you lose all lives or destroy all bricks.
  • You have the choice to end the game by closing the game window manually.

🧠 Features

  • Paddle and ball dynamics using OOP (class-based design)
  • Bricks with randomized colors
  • Score counter and lives tracker
  • Game Over and You Win messages
  • Restart button after the game ends

🛠️ Requirements

  • Python 3.x
  • No external libraries needed (uses the built-in turtle module)

🚀 Game Demo

update

🚀 Getting Started

To run the game:

python breakout_game.py