hayderkharrufa/snake_pathfinding_ai
AI plays snake game using BFS (Breadth-First Search) algorithm.
This project helps anyone interested in seeing how a classic game like Snake can be automated using artificial intelligence. It takes the game's current state as input and outputs the optimal moves for the snake to eat food and avoid obstacles. This is useful for educators, students, or hobbyists exploring basic AI pathfinding algorithms in a visual, interactive way.
No commits in the last 6 months.
Use this if you want to understand or demonstrate how a Breadth-First Search (BFS) algorithm can be applied to solve a pathfinding problem in a game.
Not ideal if you're looking for an AI that learns through complex strategies or uses machine learning techniques beyond basic graph traversal.
Stars
42
Forks
17
Language
Python
License
MIT
Category
Last pushed
Jun 26, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/hayderkharrufa/snake_pathfinding_ai"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
chynl/snake
Artificial intelligence for the Snake game.
Eliastik/snakeia
A modern Snake game featuring an artificial intelligence powered by Deep Q-Learning...
ZYunfeii/DRL4SnakeGame
Using deep reinforcement learning to play Snake game(čīŠåč).
italohdc/LearnSnake
ð AI that learns to play Snake using Q-Learning (Reinforcement Learning)
gmamaladze/deep-snake
A snake game trained using simple deep learning implemented in client side javascript.