/Python-Games

A Collection of Games Implemented By Pygame Module in Python.

Primary LanguagePythonMIT LicenseMIT

games built by pygame in python

Requirements

bash
python3
pygame

Prepare the environment

pip install pygame

How to start

  1. Clone this project: git clone https://github.com/xiacijie/Classic-Games.git
  2. Enter the project: cd Classic-Games
  3. Enter the respective folder: cd XXX
  4. Start the game: python3 XXX.py

Screenshots

-Race Car

alt text alt text

-Bricks

alt text

-Snake

alt text

Game Help

By pressing up, down, left, right to control the characters moving around.