SnakeGame is an AI-driven version of the classic Snake game, utilizing neural networks to enhance gameplay intelligence.
Ensure you have the following Python libraries installed:
- TensorFlow: Machine learning framework
- TFLearn: High-level deep learning library built on TensorFlow
- PyGame: Set of Python modules for game development
- NumPy: Library for numerical computations
Install any missing dependencies using:
pip install tensorflow tflearn pygame numpy
Activate virtual environment:
source bin/activate
python SnakeGame.py
This project serves as a practical exercise in Python programming, offering hands-on experience with TFLearn and neural networks.
This project was inspired by the tutorial: Training a Neural Network to Play Snake