Skip to content

Add cell sorting and refactor move validation logic#1

Open
Selvasurya22 wants to merge 1 commit intoSrinidhi221:mainfrom
Selvasurya22:main
Open

Add cell sorting and refactor move validation logic#1
Selvasurya22 wants to merge 1 commit intoSrinidhi221:mainfrom
Selvasurya22:main

Conversation

@Selvasurya22
Copy link
Copy Markdown

This PR introduces the following implementations :

  • Add CellSorter utility class to prioritize cell evaluation based on score, center distance, and position
  • Refactor makeMove() method to separate constraint checking from visibility validation
  • Improve scoring system with distinct bonuses for valid completions vs penalties for violations
  • Enhance constraint graph logic for better move validation

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.

1 participant