defineGame and defineResources requires an object as parameter not a json representation
updated documentation