Code Monkey home page Code Monkey logo

call-of-duty-'s Introduction

Call-of-Duty

Demo link

Installations

PyAutoGUI is a cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.

$ pip install PyAutoGUI
$ pip install numpy
$ pip install SpeechRecognition

Download Bluestacks -> link

After downloading Bluestacks open it and go to discover apps and search for Call of Duty and install it.

Collecting data and building the model

We use the Sensor UDP app , that sends the selected sensor values to a receiving program using UDP. We use the orientation parameters. After selecting Orientaion and filling the values, tap on send data.

Getting your ip -

Type in CMD ipconfig and get you IP. Now we need trainig data for 5 positions or movements. So we will store the training data in orientations.csv For each orientation, that is run the program data_collector.py 5 times for each move and be in that position for around 2 minutes.

Enter your IP and port number for UDP data transmission in data_collector.py.

Training the SVM model

I have used Support Vector machine as it was giving good accuracy compared to others.

Gameplay Settings

Start the game and go to settings > Controls and select Simple Mode. Now start your Game and execute the demo.py file and enjoy!!

Open to PR's

call-of-duty-'s People

Contributors

yashindane 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.