Snake game in python-2

Snake game version 2.0 screenshot
Snake game version 2.0 screenshot

I have updated the last snake game and made it multiplayer. You can choose any number of players – either human or computer. The computer just chooses the direction that will yield the shortest path for now. It doesnot detect loops or one way inlets….It just tries to reduce its path. I will soon implement A* algorithm for the snake. But for now, here is the code for the game.

Leave a Reply

avatar
  Subscribe  
Notify of