Bare bones play functionality

Mainly JS to get a basic playable game.