Basic game engine.