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.
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.
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.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work