Add allow origin. Some game logic.