snowfrogdev / macao

A general purpose game playing A.I. framework based on the Monte Carlo tree search algorithm.
MIT License
23 stars 4 forks source link

Change controller.ts to use the DefaultGameRules class #7

Closed snowfrogdev closed 6 years ago

snowfrogdev commented 6 years ago

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.

snowfrogdev commented 6 years ago

:tada: This issue has been resolved in version 2.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: