modified the game interface