Snake Game AI ML Frameworks

AI agents trained to play the classic Snake game using various machine learning approaches (reinforcement learning, neural networks, genetic algorithms, pathfinding). Does NOT include other game AI, general game development, or non-game reinforcement learning applications.

There are 56 snake game ai frameworks tracked. 1 score above 50 (established tier). The highest-rated is chynl/snake at 60/100 with 1,757 stars. 1 of the top 10 are actively maintained.

Get all 56 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=snake-game-ai&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 chynl/snake

Artificial intelligence for the Snake game.

60
Established
2 Eliastik/snakeia

A modern Snake game featuring an artificial intelligence powered by Deep...

49
Emerging
3 ZYunfeii/DRL4SnakeGame

Using deep reinforcement learning to play Snake game(贪吃蛇).

37
Emerging
4 gmamaladze/deep-snake

A snake game trained using simple deep learning implemented in client side...

36
Emerging
5 italohdc/LearnSnake

🐍 AI that learns to play Snake using Q-Learning (Reinforcement Learning)

36
Emerging
6 hayderkharrufa/snake_pathfinding_ai

AI plays snake game using BFS (Breadth-First Search) algorithm.

36
Emerging
7 opendilab/DI-sheep

羊了个羊 + 深度强化学习(Deep Reinforcement Learning + 3 Tiles Game)

32
Emerging
8 7enTropy7/Serpinco_

A Deep Q Network A.I agent that plays the old classic Nokia Snakes Game!

32
Emerging
9 arthurdjn/snake-reinforcement-learning

Genetic Algorithm and Neural Network for the snake game.

31
Emerging
10 voaneves/snake-on-pygame

Snake game implemented in Pygame that can be controlled by human input and...

29
Experimental
11 cfoh/snake-game

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

29
Experimental
12 zonetti/snake-neural-network

An experiment with neural network and genetic algorithms

29
Experimental
13 aryaminus/srijana

A C++ and Opengl based game to draw a window leading to snake which runs on...

28
Experimental
14 liquidcarrot/example.snake.AI

Using neuro-evolution to play Snake! ♥

26
Experimental
15 Aff54/Reinforcement-learning-applied-to-Liar-s-dice

Trying to train agents to play Liar's dice with DDQN and masking.

25
Experimental
16 blayyyyyk/snake-ml

Training a custom machine learning model to play n-dimensional games of...

25
Experimental
17 JoseLlorensRipolles/Snake-AI

Play Snake against a Deep Q-Learning agent training on your browser with TensorflowJS

24
Experimental
18 AlbertoLanaro/geneticSnakeANN

Self learning snake with ANN-based genetic algorithm

23
Experimental
19 ZaqueuCavalcante/SnAIke

🐍 Artificial Inteligence plays Snake Game.

23
Experimental
20 GoldenApplePie404/DQN-SnakeAI

基于DQN打造的贪吃蛇游戏智能体

23
Experimental
21 Monce-AI/algorithmeai-snake

Snake — SAT-based explainable classifier. Shannon MI feature selection, 30...

22
Experimental
22 Anroshka/snake-ai

🐍 A Snake game AI that learns to play through Deep Q-Learning. Built with...

21
Experimental
23 Morph21/Snake-AI-Neural-Network

Snake AI based on neutral networks and population + mutation

20
Experimental
24 Eng-AhmedAyman/Neon-Snake-World

A modern, object-oriented Snake game built with Python & Pygame. Featuring...

19
Experimental
25 pawel-kieliszczyk/snake-reinforcement-learning

AI (A2C agent) mastering the game of Snake with TensorFlow 2.0

18
Experimental
26 ShouChenICU/Snake-RL

Train your own AI to master Snake using Deep Reinforcement Learning - right...

16
Experimental
27 RolandoAndrade/ia-snake

Red neuronal simple que aprende a jugar la culebrita siendo optimizada por...

15
Experimental
28 RIMYA/AI-SnakeGame

Training snake using different Artificial Intelligence algorithms (A-STAR,...

15
Experimental
29 RuralAnemone/snek

gonna make a full-on ai for Code Your Snake...

15
Experimental
30 zmh-program/ai-snake

AI snake game using Pytorch and Numpy (old-version using Pygame).

14
Experimental
31 LordCarvell/snake-ai

Snake game where a neural network learns to play. Genetic algorithm, live...

14
Experimental
32 tanvirtin/snake-neural-networks

Neural Network learning algorithm comparison using a classic game of Snake!

14
Experimental
33 ictor862/Snake-Challenge

🐍 Play a classic Snake game built with HTML, CSS, and JavaScript. Guide your...

14
Experimental
34 matin-ghorbani/Snake-AI-Deep-QLearning

Implement a snake AI with deep Q learning using PyTorch

14
Experimental
35 K3ury99/AI-Powered-Snake-Game

The AI-Powered-Snake-Game offers two versions of Snake: a classic manual...

13
Experimental
36 tashakim/neural-network-games

A collection of game-beating neural networks

13
Experimental
37 Ta-Pc/AI-Snake-Game

AI-powered Snake game in Python, demonstrating various search algorithms...

13
Experimental
38 me0w00f/Big-Ball-Swallows-Small-Ball

🎮 Big Ball Swallows Small Ball - An addictive arcade game with AI support....

13
Experimental
39 kevin-r-jordan/snake-ml-vision

Using ML.NET, Unity, and a webcam to play the classic game, Snake.

12
Experimental
40 miedzinski/snake

Snake AI

12
Experimental
41 dfop02/Snake-game-with-deep-learning-js

A javascript snake game with deep learning application

12
Experimental
42 muzafferkadir/snake-learn-to-play

Snake learns to play. A reinforcement learning-based AI that learns to play...

12
Experimental
43 Jovinull/Snake-IA

Snake Game AI é um projeto que utiliza Deep Q-Learning para treinar uma IA...

12
Experimental
44 SebAs-man/ViperVision

A classic Snake game implemented in Java using the Processing library....

12
Experimental
45 gihudo/Every-way-to-beat-a-snake-game

The "Every Way to Beat a Snake Game" project is a repository on GitHub that...

11
Experimental
46 hanessn1/Little-Big-Snake

Snake is an arcade game where the player maneuvers the end of a growing...

11
Experimental
47 dharsan19/Snake_Game_AI_Pytorch

Ai Mini project - Snake game using pytorch

11
Experimental
48 d4niee/DeepQLearning-SnakeGame

This project implements an AI that learns the Snake game through Deep...

11
Experimental
49 petit-citrus/SnakeMachine

A python project who creates a snake on which the computer learns to play...

11
Experimental
50 makhskham/AI-Snake-Game

Implementing diverse AI algorithms for autonomous play in the classic Snake Game.

11
Experimental
51 kolyshek/snake

The classic snake game with the ability to give control to artificial intelligence

10
Experimental
52 byrnesy924/Yahtzee_Deep_Learning_Agent

This project is a Double Deep Q learning Agent that learns to play the dice...

10
Experimental
53 abelaich/YAMS-Reinforcement-Learning-Project

Develop RL agents capable of playing the Yahtzee game optimally and...

10
Experimental
54 rafi1114/AI-playing-Snake-using-RL

This project demonstrates a reinforcement learning agent that plays the...

10
Experimental
55 PhoenixR49/snake-game-ai

An AI built in JavaScript that plays snake

10
Experimental
56 ShivamGupta92/Reinforcement_learning_SnakeGameAI

Deep Q-Networks (DQN) to train an AI agent to play the Snake game. The AI...

10
Experimental