Samples now set a global 'game' variable so that the editor can properly reference the instance that was created in the anonymous function