Giter VIP home page Giter VIP logo

game-bot's Introduction

Game Bot

By Arda Mavi

Artificial intelligence that learns to play any game by watching you.

How does this work?

  • First: Run program and play any game for a little bit.
  • Second: Run program and watch the artificial intelligence play the game.

How does it work behind the scenes?

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!

But how does 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 desired game (If you have already trained the artificial intelligence).
  2. Run python3 ai.py command in terminal.

Creating Training Dataset:

  1. Run python3 create_dataset.py command in terminal.
  2. Play your desired 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:

  • Tested in Python version 3.6.0

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

WINDOWS Installation:

This project is still being worked on ...

game-bot's People

Contributors

ardamavi avatar a-charvin avatar whodiduexpect avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.