venk12 / Machine-Learning-Game---DX

Making the computer learn to play the popular game DX Ball using machine learning algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machine Learning Playbook - DX Ball

Making the computer learn to play the popular game DX Ball using machine learning algorithms

Before Getting Started

This program requires the following to run smoothly:

  1. Sqlite3 (preferably with GUI)
  2. Python v2.7
  3. Node 8.10 & npm 5.6.0
  4. AngularJs v1.x

Setting things up

  • Clone this repository
  • Navigate to /Backend and run sqlite3 dxball.db
  • To install Python dependencies, run pip install -r requirements.txt
  • To install Angular dependencies, navigate to /Frontend and run *npm install"

Running the Program

  • Install virtualenv, run pip install virtualenv
  • Setup a new environment, run virtualenv venv
  • Navigate to /Backend/venv/Scripts and run activate
  • Navigate back to /Backend and start the server, run sqlite3 dxball.db
  • To start python and flask, run *python main.py"
  • To start the front-end, navigate to /Frontend and run "node server"

Navigate to localhost:8888 in your browser and see the program in action..

Please feel free to push your changes, if any. Thanks.

About

Making the computer learn to play the popular game DX Ball using machine learning algorithms


Languages

Language:JavaScript 97.1%Language:Python 1.9%Language:HTML 0.8%Language:CSS 0.2%