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.)
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.)