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.
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.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work