Mocking out game loop.