This is a simple Snake game created entirely with Python and Pygame, without any game engine. It's my first full game project, aimed at learning game development fundamentals using only raw code and logic.
Here is a preview of the gameplay:
🧪 Tested on Python 3.9 & 3.10 — newer versions like 3.12+ may not run on Windows 7.
-
Install Python 3.7 or later
👉 Download from python.org -
Install Pygame
PressWin + R, typecmd, hit enter, then run:pip install pygame
-
Clone this Repository
git clone https://github.com/JadidianMH/python_game.git cd python_game -
Run the game:
python main.py
- snake logic is completed.
- taking screenshut by
skey. - game can be stopped by
ESCkey. - for a better gameplay after game started game by default paused.
- after a lose or entering game, snake speed is 5 then it changes to 10.
- game has sounds.
