Separation game logic from game engine #10