Skip to content

Snake Game Developed For Artificial Intelligence Project, Include AI Enemy Snake as a compitition, also will add the multiplayer option

License

Notifications You must be signed in to change notification settings

JayshKhan/SnakeAIGame_Multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Twitter Instagram Facebook LinkedIn

Snake AI Game Multiplayer

This project is a multiplayer version of the classic Snake game, developed in Python. It includes an AI-controlled enemy snake for an added level of competition.

Features

  • Multiplayer functionality: Play with your Enemy AI and see who can get the highest score!
  • AI Enemy: Compete against an AI-controlled snake that adds an extra layer of challenge to the game.
  • Settings: Change the game settings to your liking.

Installation

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Run python main.py to start the game.

Usage

  • Use the arrow keys to control your snake.
  • Avoid colliding with the AI snake and the game boundaries.
  • Eat the food items to increase your score.
  • From Setting The Multiplayer Option can be toggled on or off.
  • From Setting Enemy Snake Algorithm can be changed to Greedy or A* Algorithm.

Screenshots

Start Settings GamePlay

Built With

  • Python - Programming language used to develop the game.
  • Tkinter - Python's standard GUI package.
  • Custom Tkinter - Custom Tkinter widgets.

Improvements

  • Add a main menu.
  • Add a leaderboard to track high scores.
  • Add a pause button.
  • Screen size can be changed.
  • Snake speed can be changed.
  • Other snake colors can be chosen.
  • Add a game over screen.
  • Other Snakes Can Be added

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Author

License

MIT

About

Snake Game Developed For Artificial Intelligence Project, Include AI Enemy Snake as a compitition, also will add the multiplayer option

Topics

Resources

License

Stars

Watchers

Forks

Languages