DefaultGameRules class provides validation for the user made game rules functions that are passed to Macao. At the moment, these funcs are handled individually inside controller.ts without any sort of validation. Change controller.ts so that it makes use of DefaultGameRules.
DefaultGameRules class provides validation for the user made game rules functions that are passed to Macao. At the moment, these funcs are handled individually inside controller.ts without any sort of validation. Change controller.ts so that it makes use of DefaultGameRules.