italohdc/LearnSnake
ð AI that learns to play Snake using Q-Learning (Reinforcement Learning)
This project demonstrates an AI that learns to play the classic game Snake. It takes the game's current state (snake and fruit positions) and uses reinforcement learning to determine the best next move. The output is an autonomously playing snake that improves its performance over time, and it's ideal for students or educators exploring how basic AI algorithms can learn through trial and error.
No commits in the last 6 months.
Use this if you want to understand or teach the fundamentals of how an AI can learn optimal behavior in a simple game environment without needing any software installation.
Not ideal if you are looking for a complex AI capable of sophisticated decision-making or for an AI model that requires persistent learning across sessions.
Stars
67
Forks
18
Language
JavaScript
License
MIT
Category
Last pushed
May 02, 2019
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/italohdc/LearnSnake"
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(čīŠåč).
gmamaladze/deep-snake
A snake game trained using simple deep learning implemented in client side javascript.
hayderkharrufa/snake_pathfinding_ai
AI plays snake game using BFS (Breadth-First Search) algorithm.