Itangalo / Bot-Playtesting-Toolkit

A toolkit for simulating board games with Google spreadsheets. Intended use is board game development.
GNU General Public License v3.0
9 stars 1 forks source link

postBuild + make most functions optional #84

Closed Itangalo closed 2 years ago

Itangalo commented 2 years ago

There are sometimes reasons to do stuff when gameState objects have been built, but not repeat for every iteration of the game. Having myModule.postBuild() would thus be useful.

Also: It makes sense to have many functions optional, and skipped if they do not exist. (playRound(), gameOver() and probably buildStatistics() are required.)

Itangalo commented 2 years ago

Code in place. Tested manually, but automated tests won't be possible until tests are written as a module (#68).

Itangalo commented 2 years ago

Docs in place. Ready to release to 1.4.