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

V0.8 #164

Merged
merged 69 commits into from
Jun 21, 2024
Merged

V0.8 #164

merged 69 commits into from
Jun 21, 2024

Conversation

anoek
Copy link
Member

@anoek anoek commented Jun 14, 2024

This branch will become the start of v0.8, which is focused around adding a number of scoring updates and refactoring the code base to better segregate our backend and front end logic, normalize nomenclature, and de-duplicate code as we march towards a v1.0 release.

The scoring updates include:

  • Switches our scorer to use https://github.com/lightvector/goscorer which does automatic dame detection and proper seki scoring for Japanese rules
  • Adds support for highlighting locations that need sealing before proper scoring can be done
  • Alters the toggling of dead stones in the stone removal phase to make it less error prone
  • Removes the ability to manually flag locations as dame. Moving forward if there is a problem with dame detection, it's considered a bug.
  • Adds a red X to removed stones for clarity

image

  • Adds support for marking scores and dead stones in analysis and reviews

image

image

anoek added 30 commits June 3, 2024 20:06
Fixes some errors with node 22
phase

Also draw the red x's over the stones like the stone removal phase
GoEngine and ScoreEstimator had essentially the same logic.

This also necessitated some refactoring of our "hook" system, now better
named "callbacks" to be less confusing with react hooks.
Also removed unused udata system we had for GoEngineState
@anoek anoek marked this pull request as ready for review June 17, 2024 14:52
@anoek anoek merged commit b513fb1 into main Jun 21, 2024
1 check passed
@anoek anoek deleted the v0.8 branch June 21, 2024 12:21
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