Skip to content

matamalaortiz/Pong-ML

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
f
March 15, 2018 08:36
January 16, 2018 14:35
January 16, 2018 14:18
f
March 15, 2018 08:36
August 30, 2018 15:26
January 16, 2018 14:18

[ DEPRECATED ] This project uses an old version of ml5.js.

ML PONG

Machine Learning Pong it's an experimental version of the famous computer game Pong that aims to educate users on how machine learning tasks are trained through a fun gaming experience. The user is able to teach, in realtime, a neural network and then play the game in the browser using a set of assigned emojis as reference.

ML PONG

How it works

ML Pong uses the P5 DeepLearn library https://github.com/cvalenzuela/p5-deeplearn-js to train the controllers and predict the output.

Demo

Video Demo version runs in 2 different windows browsers and is sending the data through web sockets. (The repo for this project combines the game and the controller in one single page)

ML PONG

ML PONG

Usage

Currently version of the game runs the game and the controller at the same page.*

  • Clone Repository.
  • Create private directory inside of /server and add your cert.pem and key.pem certificates.
  • Replace your credentials in theserver.js file.
  • Run $ npm install
  • Start $ npm start

Project will run at port 3000.

Test

https://am7673.itp.io:3000

ML PONG

License

MIT

Releases

No releases published

Packages

No packages published

Languages