Implement main game physics and render.