design game logic finished