muzafferkadir/snake-learn-to-play
Snake learns to play. A reinforcement learning-based AI that learns to play the classic Snake game autonomously.
This project lets you observe an AI autonomously learn to play the classic Snake game. It takes the game's current state (like snake position, apple position, and obstacles) as input and outputs the optimal next move for the snake. It's designed for anyone interested in seeing reinforcement learning in action, specifically how an AI learns to master a simple game.
No commits in the last 6 months.
Use this if you want to visualize how a Deep Q-Learning AI learns to play and improve its strategy in a game environment.
Not ideal if you're looking for an AI to solve complex, real-world strategic problems or a general-purpose game-playing bot for varied games.
Stars
16
Forks
1
Language
Python
License
—
Category
Last pushed
Mar 08, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/muzafferkadir/snake-learn-to-play"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
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(čīŠåč).
hayderkharrufa/snake_pathfinding_ai
AI plays snake game using BFS (Breadth-First Search) algorithm.
italohdc/LearnSnake
ð AI that learns to play Snake using Q-Learning (Reinforcement Learning)