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 57 snake game ai frameworks tracked. 2 score above 50 (established tier). The highest-rated is chynl/snake at 64/100 with 1,757 stars. 1 of the top 10 are actively maintained.

Get all 57 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.

64
Established
2 Eliastik/snakeia

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

53
Established
3 ZYunfeii/DRL4SnakeGame

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

44
Emerging
4 italohdc/LearnSnake

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

43
Emerging
5 gmamaladze/deep-snake

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

43
Emerging
6 hayderkharrufa/snake_pathfinding_ai

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

43
Emerging
7 opendilab/DI-sheep

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

39
Emerging
8 7enTropy7/Serpinco_

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

39
Emerging
9 arthurdjn/snake-reinforcement-learning

Genetic Algorithm and Neural Network for the snake game.

38
Emerging
10 voaneves/snake-on-pygame

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

36
Emerging
11 zonetti/snake-neural-network

An experiment with neural network and genetic algorithms

36
Emerging
12 cfoh/snake-game

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

36
Emerging
13 aryaminus/srijana

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

35
Emerging
14 liquidcarrot/example.snake.AI

Using neuro-evolution to play Snake! ♥

33
Emerging
15 blayyyyyk/snake-ml

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

32
Emerging
16 JoseLlorensRipolles/Snake-AI

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

31
Emerging
17 AlbertoLanaro/geneticSnakeANN

Self learning snake with ANN-based genetic algorithm

30
Emerging
18 Anroshka/snake-ai

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

28
Experimental
19 GoldenApplePie404/DQN-SnakeAI

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

27
Experimental
20 pawel-kieliszczyk/snake-reinforcement-learning

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

25
Experimental
21 Aff54/Reinforcement-learning-applied-to-Liar-s-dice

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

24
Experimental
22 Morph21/Snake-AI-Neural-Network

Snake AI based on neutral networks and population + mutation

22
Experimental
23 RolandoAndrade/ia-snake

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

22
Experimental
24 RIMYA/AI-SnakeGame

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

22
Experimental
25 Monce-AI/algorithmeai-snake

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

22
Experimental
26 tanvirtin/snake-neural-networks

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

21
Experimental
27 matin-ghorbani/Snake-AI-Deep-QLearning

Implement a snake AI with deep Q learning using PyTorch

21
Experimental
28 Eng-AhmedAyman/Neon-Snake-World

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

21
Experimental
29 zmh-program/ai-snake

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

21
Experimental
30 tashakim/neural-network-games

A collection of game-beating neural networks

20
Experimental
31 Ta-Pc/AI-Snake-Game

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

20
Experimental
32 me0w00f/Big-Ball-Swallows-Small-Ball

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

20
Experimental
33 muzafferkadir/snake-learn-to-play

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

19
Experimental
34 kevin-r-jordan/snake-ml-vision

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

19
Experimental
35 dfop02/Snake-game-with-deep-learning-js

A javascript snake game with deep learning application

19
Experimental
36 gihudo/Every-way-to-beat-a-snake-game

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

18
Experimental
37 petit-citrus/SnakeMachine

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

18
Experimental
38 ShouChenICU/Snake-RL

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

18
Experimental
39 rafi1114/AI-playing-Snake-using-RL

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

17
Experimental
40 byrnesy924/Yahtzee_Deep_Learning_Agent

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

17
Experimental
41 ShivamGupta92/Reinforcement_learning_SnakeGameAI

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

17
Experimental
42 abelaich/YAMS-Reinforcement-Learning-Project

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

17
Experimental
43 Jovinull/Snake-IA

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

14
Experimental
44 LordCarvell/snake-ai

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

14
Experimental
45 ictor862/Snake-Challenge

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

13
Experimental
46 d4niee/DeepQLearning-SnakeGame

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

13
Experimental
47 hanessn1/Little-Big-Snake

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

13
Experimental
48 dharsan19/Snake_Game_AI_Pytorch

Ai Mini project - Snake game using pytorch

13
Experimental
49 makhskham/AI-Snake-Game

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

13
Experimental
50 Abhijith14/SnakeGame-ML

AI paying Snake Game using Reinforcement Learning - Python

13
Experimental
51 saranggalada/Snake-Reinforcement_Learning

The classic arcade game Snake played using Reinforcement Learning...

11
Experimental
52 PatrickKoss/Snake

Simple implementation of a Snake Web app

11
Experimental
53 StarlitDreams/pacman-convolutional-q-learning

This project implements a Deep Q-Network (DQN) using PyTorch to train an...

11
Experimental
54 cve-mohd/snakeai

A snake game that is controlled by a neural network and trained using a...

11
Experimental
55 liliansteven/Building-An-Artificial-Intelligence-Snake-Game-in-Python

A* Algorithm for the snake game.

10
Experimental
56 leogaudin/Learn2Slither

42 · An introduction guide to reinforcement learning, teaching a snake how...

10
Experimental
57 DwiDevelopes/Metode-Deeplearning-Snake-Visualisasi

Metode Algoritma And Code Deeplearning Snake Visualisasi

10
Experimental