chynl/snake
Playing the game of snake with AI. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 78
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3721
- days_rel: n/a
- days_push: 136
- n_releases_24m: 0
Adoption not part of the score
1787 stars · 578 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python application that plays the game of Snake using two AI approaches: a graph-search algorithm based on Hamiltonian paths and shortest paths, and a deep reinforcement learning model trained with PyTorch. It includes a pre-trained model and training scripts, running on CPU or GPU.
Use cases
- play snake with an AI agent
- train a reinforcement learning model to play snake
- learn graph search algorithms for games
- compare rule-based AI vs reinforcement learning
- study Hamiltonian path strategies in snake
- experiment with deep RL in a simple game environment
When to choose
- you want a well-documented, benchmarked snake AI with both graph search and RL approaches
- you want a simple environment to learn or teach reinforcement learning
- you want a ready-to-run demo with a pre-trained model
When to avoid
- you need a production game or a general-purpose RL framework
- you want a graphical game engine beyond the snake demo
- you need environments other than snake
Facets
application · maturity active
game reinforcement-learning machine-learning simulation artificial-intelligence reinforcement-learning python cross-platform cli snake-game graph-search hamiltonian-path deep-reinforcement-learning pytorch ai-agent game-development algorithms
1 source
- readme: https://github.com/chynl/snake · fetched 2026-08-28 · 6e80c84947a6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| chynl/snake | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem