ashn-dot-dev / natac

Networked implementation of the hexagonal settler game in Sunder
BSD Zero Clause License
4 stars 0 forks source link

Development cards display should only show the number of un-played development cards #20

Closed ashn-dot-dev closed 7 months ago

ashn-dot-dev commented 7 months ago

In this game, white has one un-played development card (1 victory point), but the display shows that they have three development cards in-hand. During the game white acquired (and played) two additional knights. Discovered on commit 68bec72.

Screenshot 2024-03-24 at 8 31 22 PM
ashn-dot-dev commented 7 months ago

Fixed in 68b0c0d6744223101f43e3ed25697bd809c99541.

Here, white has drawn two knights and played one knight, showing a total of one development card remaining.

Screenshot 2024-03-25 at 9 07 22 AM