petya230 / Game-Bot

Artificial intelligence learn playing any game with watching you.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 the game you want (If artificial intelligence trained).
  2. Run python3 ai.py command in terminal.

Creating Training 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.

WINDOWS Installation:

The under construction

About

Artificial intelligence learn playing any game with watching you.

License:Apache License 2.0


Languages

Language:Python 100.0%