Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giovananog/breakout-game
A simple breakout game implementation with python Turtle lib
https://github.com/giovananog/breakout-game
breakout-game python turtle
Last synced: 16 days ago
JSON representation
A simple breakout game implementation with python Turtle lib
- Host: GitHub
- URL: https://github.com/giovananog/breakout-game
- Owner: giovananog
- Created: 2024-01-21T12:57:22.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-30T13:54:00.000Z (7 months ago)
- Last Synced: 2024-05-30T16:14:38.850Z (7 months ago)
- Topics: breakout-game, python, turtle
- Language: Python
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Breakout Game with Turtle
![GitHub repo size](https://img.shields.io/github/repo-size/giovananog/breakout-game?style=for-the-badge)
![GitHub last commit](https://img.shields.io/github/last-commit/giovananog/breakout-game?style=for-the-badge)
> A simple Breakout game implemented in Python using the Turtle graphics library. This game features a player-controlled paddle, a bouncing ball, and breakable walls.
## đŽ How to Play
1. Run the `main.py` script to start the game.
2. Control the paddle using the `a` (left) and `d` (right) keys.
3. Bounce the ball off the paddle to break the walls.
4. Score points by breaking the walls and avoiding the ball hitting the bottom wall.
5. The game ends when the ball hits the bottom wall three times.## đ Files
- **main.py**: Main script to run the Breakout game.
- **player.py**: Class implementation for the player-controlled paddle.
- **scoreboard.py**: Class implementation for the scoreboard to track the player's score.
- **ball.py**: Class implementation for the bouncing ball.
- **wall.py**: Class implementation for the breakable walls.## đ ī¸ Dependencies
- Python 3
- Turtle graphics library (usually comes with Python)## đšī¸ Gameplay Details
- **Game Window**: The game window has a black background and measures 600x600 pixels.
- **Controls**: The player can move the paddle using the `a` (left) and `d` (right) keys.
- **Ball Mechanics**: The ball bounces off the walls, paddle, and breakable walls.
- **Scoring**: Score points by breaking the breakable walls.
- **Game Over**: The game ends when the ball hits the bottom wall three times.## đ Getting Started
To get a local copy up and running, follow these simple steps:
1. **Clone the repository**:
```sh
git clone https://github.com/giovananog/breakout-game.git
```
2. **Navigate to the project directory**:
```sh
cd breakout-game
```
3. **Run the game**:
```sh
python main.py
```
## đ Developed During Python BootcampThis Breakout game was developed as part of the 100 Days of Code - The Complete Python Pro Bootcamp ([Course](https://www.udemy.com/course/100-days-of-code/)), a comprehensive course designed to teach Python programming through hands-on projects. This project showcases the skills and concepts learned in the course, including object-oriented programming, graphics with the Turtle library, and game development.