Skip to content

MaahiKhazi/Retro-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Retro Games

A collection of simple retro games developed using the Pygame library.

Games Included:

  • Pong
  • Snake
  • Battleship

Requirements

  • Python 3.x
  • Pygame library

To install Pygame, run the following command: pip install pygame

Running the games

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

Controls

  • 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

Notes

  • 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.

Contact

If you have any questions or issues, feel free to contact me at [email protected].

Enjoy the games!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages