A simple collection of classic arcade-style games implemented in Python using the Turtle graphics module. This repository is ideal for learning.
- Two-player paddle game.
- Dynamic bouncing ball with edge detection.
- Real-time scoreboard and game-over conditions.
- Modularized codebase for easy understanding and extension.
- Classic snake mechanics: grow after eating food.
- Wall and self-collision detection for challenging gameplay.
- Persistent scoring system and restart functionality.
- Clean, object-oriented code structure.
- Navigate your turtle across a busy road filled with moving cars.
- Increasing difficulty as you advance levels.
- Score tracking and progression system.
- Clear separation of game logic components.
- Python 3.10 or later installed on your system.
-
Clone the repository:
git clone https://github.com/j-harishankar/arcade-games.git cd arcade-games
-
Install dependencies:
- The games use only the Python standard library (
turtle
). No additional packages are required.
- The games use only the Python standard library (
-
Run a Game:
-
Ping Pong
cd ping-pong python main.py
-
Snake Game
cd snake-game python main.py
-
Turtle Crossing
cd turtle-crossing-start python main.py
-
arcade-games/
│
├── ping-pong/
│ ├── main.py
│ ├── ball.py
│ ├── paddle.py
│ └── scoreboard.py
│
├── snake-game/
│ ├── main.py
│ ├── snake.py
│ ├── food.py
│ └── scoreboard.py
│
├── turtle-crossing-start/
│ ├── main.py
│ ├── player.py
│ ├── car_manager.py
│ └── scoreboard.py
│
└── README.md
Contributions, suggestions, and improvements are welcome! Please open an issue or submit a pull request.
Enjoy playing and learning with these classic games!