Artificial intelligence that learns to play any game by watching you.
- First: Run program and play any game for a little bit.
- Second: Run program and watch the artificial intelligence play the game.
When you run the training program, the program listens for your keyboard and mouse moving, then it saves those movements.
Artificial intelligence learn: When I push any button?
And when you run the program, it plays the game just like you!
With deep learning.
Deep Learning is a subfield of machine learning with neural networks inspired by the structure of the brains artificial neural networks.
- Open your desired game (If you have already trained the artificial intelligence).
- Run
python3 ai.py
command in terminal.
- Run
python3 create_dataset.py
command in terminal. - Play your desired game.
- Stop
create_dataset
program withCntrl-C
in terminal.
python3 train.py
tensorboard --logdir=Data/Checkpoints/logs
-
Tested in Python version 3.6.0
-
Install necessary modules with
sudo pip3 install -r requirements.txt
command.
- Install Python 3.6.0 : https://www.python.org/downloads/release/python-360/
- Run CMD and Input Command
pip3 install -r requirements.txt