A collection of simple retro games developed using the Pygame library.
- Pong
- Snake
- Battleship
- Python 3.x
- Pygame library
To install Pygame, run the following command: pip install pygame
To run a game, navigate to the game's directory and run the main.py
file using Python.
For example, to run Pong: cd pong python main.py
- Pong: Use the arrow keys to move the paddle
- Snake: Use the arrow keys to move the snake
- Battleship: Use the mouse to place ships and select target cells
- The games have a minimalistic design and basic functionality as the main focus was on the implementation of core game mechanics.
- The games have been tested on Windows and MacOS and should work on Linux as well.
If you have any questions or issues, feel free to contact me at [email protected].
Enjoy the games!