All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.2.1 (2019-06-28)
- security issues (ee30f74)
5.2.0 (2018-01-01)
- changed target from es2015 to es5 (3f4f77e)
5.1.0 (2017-12-30)
- default values for game config (fc17053)
5.0.7 (2017-12-30)
5.0.6 (2017-12-30)
5.0.5 (2017-12-30)
- typo (ca6fd10)
5.0.4 (2017-12-30)
5.0.2 (2017-12-30)
5.0.3 (2017-12-30)
5.0.2 (2017-12-30)
5.0.1 (2017-12-30)
- "A computed property name in a type literal must directly refer to a built-in symbol." (dcd8e41)
5.0.0 (2017-12-30)
- simplified Strategy API, GameConfig now serializable (c5cad60)
- GameConfig.strategy is now the strategy name
4.1.1 (2017-12-30)
- revert adding test utils to public API (b0ee440)
4.1.0 (2017-12-30)
- added test utils to public API (84c43d4)
4.0.0 (2017-12-29)
- added example.js (f6b76ad)
- refactored into separate ES modules, added tests for each function, changed all tests parametrized to match game config (a78dffc)
- updated tslint config (34f7ce3)
- added public playRound method instead of playNextRound method as part of startGame's return value
3.0.0 (2017-12-28)
- refactored game API to be functional (edf889b)
- no NimGame needs to be initialized anymore, just call playNim
2.0.0 (2017-12-28)
- fix tests (52bc763)
- new API for NimGame
1.4.0 (2017-12-28)
- configured test debugging in vscode (f1a745b)
- customize game via config parameters, always return complete game state, implemented strategies as higher-order functions (640c5b3)
- switch to @luchsamappat tslint-config (f0d3a6d)
1.3.0 (2017-12-23)
- added remainder and mimic-human strategy, use remainder by default, added tests for all strategies (312245f)
1.2.3 (2017-12-23)
- revert changes to package-lock.json before deploy on travis (d015542)
1.2.2 (2017-12-23)
- prevent additional build on release (b74b8ee)
- run git diff to find cause for failing release on travis (d82f883)
1.2.1 (2017-12-23)
- disabled object-literal-sort-keys rule (5f69293)
- removed prepublishonly script to fix publishing via travis (7498640)