douglascdev / douglascdev/snake
Build a bot to play the game
Open
enhancement
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Build a bot in a separate module that plays the game. It'll have to:
- Get the location of the food and the snake
- Find the best path to follow between those two points
- Make the path it's currently following visible with lines
- The path finding should prioritize not getting the snake stuck in a circle with it's own body around, not just the closest path
- Change the snake's direction on each step to follow the determined path
- Get the game to run faster when the bot is playing
This could also be made with an AI later on.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.