def main(): Engine.initialize(APP_NAME, APP_VERSION) device = GraphicsDevice() mainloop(device) Engine.finalize() return 0