Add Blood King Rises - #426
Conversation
|
Thanks! I’ve updated this PR to address the review comments:
Please let me know if there’s anything else I should change. |
|
I noticed the game notes still said promotion was not implemented, so I updated that note too. |
|
Still interested in this? If so, please join us on Discord so we can chat through the next steps. |
if (capturedKing) {
this.gameover = true;
this.winner = [this.owner(movingPiece)];
// ...
}Legal move generation correctly forbids king captures before rise, so normal play is fine. But a trusted move (backend replay, tooling, tests with { trusted: true }) could capture a king pre-rise and still award a win. Worth adding an explicit bloodKingsRisen guard to match the rules and fail safely.
The underlying framework has changed a fair bit recently. You no longer need to make any changes to Once the code is good, we merge it to development and then you need to play some games to validate it in the live context. Only after that does the game go live. Joining Discord isn't strictly required, but it's helpful. Let me know if you're still interested in proceeding. |
Added Blood King Rises