Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for TreeTent rules not dependent on links #171

Merged
merged 9 commits into from
Jul 15, 2022

Conversation

Hiimadd
Copy link
Collaborator

@Hiimadd Hiimadd commented Jun 28, 2022

Fixes for EmptyField, LastCampingSpot, TouchingTents, NoTreeForTent
Implementation for FillInRow

Specifically:

  • TouchingTents didn't account for diagonal tents, and would return valid when it shouldn't due to using TreeTentType.TREE instead of TreeTentType.TENT

  • LastCampingSpot didn't actually recognize that a remaining spot was the last camping spot (current implementation doesn't take links into account at all, this is something that will still need to be added)

  • EmptyField would return valid for any placement of grass, not just grass with no trees adjacent

  • NoTreeForTent didn't consider linked trees taken, and considered unknown tiles possible trees

  • FillInRow had no implementation, now it has one, although the edge tiles that should be clicked to select what row the user wants to fill in has no highlighting yet

Hiimadd added 6 commits June 10, 2022 14:46
Fixed EmptyField, LastCampingSpot, and TouchingTents rules
Fixed TouchingTents not accounting for diagonal tents, and made significant progress on FillInRow (although some will need to be redone because I misunderstood the class of the clues)
Implement fill in row, make some fixes for no tree for tent
@Hiimadd Hiimadd added bug Something isn't working tree tent labels Jun 28, 2022
@Hiimadd Hiimadd assigned Hiimadd and unassigned Hiimadd Jun 28, 2022
@charlestian23 charlestian23 merged commit 02fb9ee into Bram-Hub:dev Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tree tent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants