italohdc/LearnSnake

🐍 AI that learns to play Snake using Q-Learning (Reinforcement Learning)

43
/ 100
Emerging

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.

AI-education reinforcement-learning-demonstration game-AI q-learning interactive-learning
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 8 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

67

Forks

18

Language

JavaScript

License

MIT

Category

snake-game-ai

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.