snake and snake-game

These are competitors: both are standalone AI implementations for Snake that use different reinforcement learning approaches (A uses unspecified AI methods while B specifically implements Q-Learning, DQN, and SARSA), and users would select one based on algorithm preference and code quality rather than using them together.

snake
67
Established
snake-game
29
Experimental
Maintenance 16/25
Adoption 10/25
Maturity 16/25
Community 25/25
Maintenance 0/25
Adoption 6/25
Maturity 9/25
Community 14/25
Stars: 1,757
Forks: 553
Downloads:
Commits (30d): 2
Language: Python
License: MIT
Stars: 15
Forks: 3
Downloads:
Commits (30d): 0
Language: Python
License: MIT
No Package No Dependents
Stale 6m 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-game

cfoh/snake-game

Playing snake game using machine learning (Q-Learning, DQN, SARSA)

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