Convert game code to a scene model.