Skip to content
Settlers Journal
Go back

Combining Bank and Graph Checks for Legal Purchase Transitions

Edit page

TLDR

Updating TransitionSpendResourcesNoopTurnRoll, so that it checks possible moves based on both the CatanBankService and CatanGraphService. If a road can be bought, but not legally placed somewhere, TransitionSpendResourcesNoopTurnRoll should not take effect.

alt text

Main work

Challenges

Learnings


Edit page
Share this post on:

Previous Post
Implementing Available Settlement Placement Validation in the Graph
Next Post
Checking Purchase Eligibility with CatanBankService Before Turn Transitions