Skip to content

Conversation

@YoEnte
Copy link
Collaborator

@YoEnte YoEnte commented Mar 20, 2025

Description

There was a bug about the rules check if the player is able to enter the goal (carrots <= 10 && salads == 0)
When checking the carrots, the needed carrots for the turn need to be considered in that check

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

Checked by hand in GUI Server, Unit tests (old and new)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@YoEnte YoEnte requested a review from maxblan March 20, 2025 10:43
@maxblan maxblan merged commit 169459b into master Mar 21, 2025
1 check passed
@YoEnte YoEnte deleted the goal-bug branch August 12, 2025 13: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.

3 participants