Written in ES6; the meat of the algorithm is in index.js
.
Based on the algorithm outlined here.
When this start working:
import punchOut from 'index';
//nextEnemy:
// 0: Don Flamenco
// 1: Piston Honda
// 2: Super Macho Man
punchOut.makePassword(winNumber, lossNumber, koNumber, nextEnemy);
gulp babel
, then load from dist/
folder
Use SystemJS and jspm to load and run app
gulp serve
gulp web
, and distribute the web
folder