Skip to content

imp-joshi/PyFang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Sanke Game

This is a simple Snake game implemented in Python using Pygame library. The game follows a Finite State Machine (FSM) Automata design for managing the game's states.

Game Controls:

  • Use arrow keys to control the direction of the snake: Up, Down, Left, Right.

Rules:

  • The snake grows longer as it eats apples.
  • Avoid colliding with the walls or biting itself to continue playing.

Installation:

  1. Clone the repository git clone https://github.com/imp-joshi/PyFang
  2. Install dependencies using pip install -r requirements.txt
  3. Run the game with python snake.py

License:

This project is licensed under the MIT License

Enjoy playing! 🐍🍎

About

This is a simple Snake game implemented in Python using Pygame library. The game follows a Finite State Machine (FSM) Automata design for managing the game's states.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages