- Python
- numpy
- pandas
- matplotlib
- pygame
With pip:
python -m pip install numpy pandas matplotlib pygame
With pacman:
sudo pacman -S python-numpy python-pandas python-matplotlib python-pygame
With conda
conda install --Dependencies
python train.py
python pong.py
Our RL agent which interacts with the game
Contains our loss function and activation functions
Layers of our model
Our network of layers
Code for the game pong
run to train the model
dependencies and version numbers we used
This project was coded without machine learning libraries. Here is a playlist of videos used to achieve this.
- make the bias work
- train after each move rather than each game
- Integrate a proper reinforcement-learning algorithm.
- Add a second AI to play against the first.
- Use GPU acceleration.
- Create binaries for different OSs so dependencies aren't needed