LearnSnake and snake-game

Both projects are competing open-source implementations of AI agents using Q-learning variants to play the Snake game.

LearnSnake
43
Emerging
snake-game
36
Emerging
Maintenance 0/25
Adoption 8/25
Maturity 16/25
Community 19/25
Maintenance 0/25
Adoption 6/25
Maturity 16/25
Community 14/25
Stars: 67
Forks: 18
Downloads:
Commits (30d): 0
Language: JavaScript
License: MIT
Stars: 15
Forks: 3
Downloads:
Commits (30d): 0
Language: Python
License: MIT
Stale 6m No Package No Dependents
Stale 6m No Package No Dependents

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

About snake-game

cfoh/snake-game

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

This project helps undergraduate students and others new to AI understand reinforcement learning by training an AI to play the classic Snake game. It takes in game state information and outputs an AI agent capable of playing the game, demonstrating various learning algorithms like Q-learning and Deep Q-Networks. The primary user is anyone looking to learn or teach the fundamentals of AI and reinforcement learning through a practical example.

AI-education reinforcement-learning game-AI educational-tool machine-learning-training

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