A collection of classic arcade and puzzle games implemented in Python.
This repository contains the following games:
A classic implementation of the Snake game where the player controls a line which grows in length, with the line itself being a primary obstacle.
- Framework: Pygame
- To Play: Run
python Snake/snake.py
A modern take on the classic single-player puzzle game. The objective is to clear a rectangular board containing hidden "mines" or bombs without detonating any of them.
- Framework: Tkinter
- To Play: Run
python Minesweeper/mines.py
The iconic tile-matching puzzle game. Players complete lines by moving differently shaped pieces (tetrominoes) as they descend on the playing field.
- Framework: Pygame
- To Play: Run
python Thetris/thetris.py
-
Clone the repository:
git clone <repository-url> cd games
-
Install dependencies: The games use
pygame, which can be installed via pip.Tkinteris usually included with standard Python installations.pip install pygame
-
Run a game: Navigate to the game's directory and run the corresponding Python script. For example, to play Snake:
python Snake/snake.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.