about refactored
game communication with the ui for state gamewon