added game logic, parts of game page using angular, from home, untested