snakeia and LearnSnake

These two AI-powered Snake game implementations are competitors, as both independently apply Q-Learning (or Deep Q-Learning in the case of A) to teach an agent to play the game, offering alternative solutions for the same problem.

snakeia
53
Established
LearnSnake
43
Emerging
Maintenance 10/25
Adoption 4/25
Maturity 25/25
Community 14/25
Maintenance 0/25
Adoption 8/25
Maturity 16/25
Community 19/25
Stars: 7
Forks: 3
Downloads:
Commits (30d): 0
Language: JavaScript
License: GPL-3.0
Stars: 67
Forks: 18
Downloads:
Commits (30d): 0
Language: JavaScript
License: MIT
No risk flags
Stale 6m No Package No Dependents

About snakeia

Eliastik/snakeia

A modern Snake game featuring an artificial intelligence powered by Deep Q-Learning (TensorFlow.js). Written in pure, object-oriented JavaScript, with a 3D rendering engine powered by Three.js.

This project offers a modern take on the classic Snake game, enhanced with various artificial intelligence players. You can play solo against different AI difficulties, watch multiple AIs battle it out in a Battle Royale, or even play online with others. It takes your input (or AI algorithms) and outputs an engaging game experience, perfect for anyone interested in observing or interacting with AI in a familiar game setting.

AI-gaming game-entertainment casual-gaming machine-learning-demonstration

About LearnSnake

italohdc/LearnSnake

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

This project demonstrates an AI that learns to play the classic game Snake. It takes the game's current state (snake and fruit positions) and uses reinforcement learning to determine the best next move. The output is an autonomously playing snake that improves its performance over time, and it's ideal for students or educators exploring how basic AI algorithms can learn through trial and error.

AI-education reinforcement-learning-demonstration game-AI q-learning interactive-learning

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