added more game logic -- commented out angularjs portions