snake and snake-ml

These are competitors offering different approaches to solving Snake gameplay—one using artificial intelligence techniques and the other using genetic algorithms with machine learning—but targeting the same use case of automated snake game playing.

snake
67
Established
snake-ml
25
Experimental
Maintenance 16/25
Adoption 10/25
Maturity 16/25
Community 25/25
Maintenance 10/25
Adoption 2/25
Maturity 1/25
Community 12/25
Stars: 1,757
Forks: 553
Downloads:
Commits (30d): 2
Language: Python
License: MIT
Stars: 2
Forks: 1
Downloads:
Commits (30d): 0
Language: TypeScript
License:
No Package No Dependents
No License No Package No Dependents

About snake

chynl/snake

Artificial intelligence for the Snake game.

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.

About snake-ml

blayyyyyk/snake-ml

Training a custom machine learning model to play n-dimensional games of snake using a genetic learning algorithm.

Scores updated daily from GitHub, PyPI, and npm data. How scores work