/Game-Bot

Artificial intelligence learn playing any game with watching you.

Primary LanguagePythonApache License 2.0Apache-2.0

Game Bot

By Arda Mavi

Artificial intelligence learn playing any game with watching you.

What is this?

  • First: Run program and play any game little bit.
  • Second: Run program and watch artificial intelligence's playing game.

How it works?

When you run the training program, program start to listen your keyboard and mouse moving and save these.
Artificial intelligence learn: When I push any button?
And you run the artificial intelligence, It play your game like you.

But how it learn?

Magic (just joking)

With deep learning.
Deep Learning is a subfield of machine learning with neural networks inspired by the structure of the brains artificial neural networks.

Playing with Artificial Intelligence:

  1. Open your want game (If artificial intelligence tarined).
  2. Run python3 ai.py command in terminal.

Creating Train Dataset:

  1. Run python3 create_dataset.py command in terminal.
  2. Play your want game.
  3. Stop create_dataset program with Cntrl-C in terminal.

Model Training:

python3 train.py

Using TensorBoard:

tensorboard --logdir=Data/Checkpoints/logs

Important Notes:

  • Used Python Version: 3.6.0

  • Install necessary modules with sudo pip3 install -r requirements.txt command.

The under construction