LearnSnake and snake-game
Both projects are competing open-source implementations of AI agents using Q-learning variants to play the Snake game.
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.
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.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work