add game logic, add menu handlers