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

Get rid of unnecessary switch statements #90

Closed
Monkey-bored opened this issue Nov 30, 2023 · 0 comments · Fixed by #96
Closed

Get rid of unnecessary switch statements #90

Monkey-bored opened this issue Nov 30, 2023 · 0 comments · Fixed by #96
Assignees
Labels
infra Changes and improvements to the project's infrastructure

Comments

@Monkey-bored
Copy link
Collaborator

Monkey-bored commented Nov 30, 2023

It seems like the type Position stores coordinates and a string board (The ID of the board),
instead store the actual Board (type ChessBoard) and get rid of all the unnecessary switches.

@Ido-Barnea Ido-Barnea changed the title Get rid of unnecessary switch(es) Get rid of unnecessary switch statements Nov 30, 2023
@Ido-Barnea Ido-Barnea added the infra Changes and improvements to the project's infrastructure label Dec 8, 2023
@Monkey-bored Monkey-bored linked a pull request Dec 22, 2023 that will close this issue
Monkey-bored added a commit that referenced this issue Dec 22, 2023
…ch-statements

[#90] Got rid of repetitive switch statements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Changes and improvements to the project's infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants