chynl/snake

Artificial intelligence for the Snake game.

67
/ 100
Established

Implements three distinct solver algorithms—Hamilton cycle pathfinding for near-optimal play, greedy heuristic search, and experimental deep Q-learning—evaluated across 1000-episode trials measuring final snake length and step efficiency. Built in Python with Tkinter visualization and includes comprehensive unit tests for algorithm validation.

1,757 stars. Actively maintained with 2 commits in the last 30 days.

No Package No Dependents
Maintenance 16 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

1,757

Forks

553

Language

Python

License

MIT

Category

snake-game-ai

Last pushed

Mar 07, 2026

Commits (30d)

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/chynl/snake"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.