implement game logic
implement view logic