Huge changes, using Firebase.js to implement online multiplayer. It works, until someone wins.