snake and snake-on-pygame
These are competitors—both implement AI agents for the Snake game, with the first offering a more mature, battle-tested solution (1,757 stars) while the second provides a Pygame-based alternative that explicitly compares human and DQN-based AI performance.
About snake
chynl/snake
Artificial intelligence for the Snake game.
This project develops and evaluates different AI strategies for the classic Snake game. It takes in game parameters and an AI algorithm, then outputs metrics like the snake's average length and number of steps taken. This is for game developers, AI researchers, or enthusiasts interested in comparing and understanding game-playing AI.
About snake-on-pygame
voaneves/snake-on-pygame
Snake game implemented in Pygame that can be controlled by human input and AI agents (DQN). Who's best? :snake: :robot:
This project offers a version of the classic Snake game that can be played by humans or controlled by an artificial intelligence (AI) agent. You input your moves directly, or an AI agent processes game states (like snake and food positions) to make its own moves. It's designed for anyone interested in playing the Snake game or observing how AI (specifically Deep Q-Networks) learns to play.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work