finish game logic, unit testing passed. going to integration testing