Skip to content

Refactor null states SameGame - #36

Closed
LeoDefossez wants to merge 5 commits into
Ducasse:masterfrom
LeoDefossez:Refactor-null-states
Closed

Refactor null states SameGame#36
LeoDefossez wants to merge 5 commits into
Ducasse:masterfrom
LeoDefossez:Refactor-null-states

Conversation

@LeoDefossez

Copy link
Copy Markdown

In SameGame, all states inherited from a null state.
It mean that technically, every state is a null state.

I propose another hierarchy, with an abstract state as the parent of every other states (Included the null state)

@LeoDefossez

Copy link
Copy Markdown
Author

Closed this request because i realised that not only the refactor for null state were present but also a customisation of board size, that we may not want see the pull request #37

@LeoDefossez
LeoDefossez deleted the Refactor-null-states branch November 21, 2025 09:00
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.

2 participants