Skip to content

Last tweaks#60

Merged
simlmx merged 4 commits intomainfrom
last-tweaks
Feb 1, 2026
Merged

Last tweaks#60
simlmx merged 4 commits intomainfrom
last-tweaks

Conversation

@simlmx
Copy link
Contributor

@simlmx simlmx commented Feb 1, 2026

No description provided.

This way there is only one source of truth: `turnBeganAt`
Game 2.7.0 will become 3.0.0 at which point we'll break backward
compatibility anyway.
* Change the format of the options to `turns.begin` and `turns.beginAll`
  and improve the typing.
* Actually end turns on expiration. This always happen when an
  onExpiration move is triggered, at which point we end the turn if
  another turn was not explicitly triggered. To enable this we need to
  pass an `isExpiration: boolean` argument when triggering a move, to
  know if it's an expiration move or not.
* Stop skipping the `canDo` checks on expiration moves.
@simlmx simlmx merged commit e8b35d4 into main Feb 1, 2026
1 check passed
@simlmx simlmx deleted the last-tweaks branch February 1, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant