-
Notifications
You must be signed in to change notification settings - Fork 228
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
fixed: Display latest stone for ghost dead stone #401
Conversation
@@ -384,7 +384,8 @@ private void drawBranch() { | |||
|
|||
for (int i = 0; i < Board.BOARD_SIZE; i++) { | |||
for (int j = 0; j < Board.BOARD_SIZE; j++) { | |||
if (Lizzie.board.getData().stones[Board.getIndex(i, j)] != Stone.EMPTY) continue; | |||
// Display latest stone for ghost dead stone | |||
// if (Lizzie.board.getData().stones[Board.getIndex(i, j)] != Stone.EMPTY) continue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just remove the line and don't put a comment...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently some test is ok, but has not more tests. I want to temporarily reserve it so that can suggest changes here when there is a problem.
Of course, I'm ok with remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. So you propose to keep it commented out until we are sure that it doesn't break something else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this change can solve some problems, but it also changes the display of the stones. I think we should be cautious.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have committed a new change for fix the stone double shadow issue when branch
LGTM |
Issue: #301
Display latest stone for ghost dead stone