nullx002 / eidogo

Automatically exported from code.google.com/p/eidogo
0 stars 0 forks source link

Bug with score estimate. Live stones marked as dead. #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I've uploaded a game that exhibits this problem: URL: 
http://eidogo.com/#2D0ZOjr5
2. Skip to the last move (White pass)
3. Press 'score estimate'

What is the expected output? What do you see instead?
There is a group of black stones in the centre of the board which are 
incorrectly marked as dead even though they are connected to a live group. The 
black stones in this chain which border on to open territory are marked as live 
(OK), where as the stones that are bordered only by other stones are marked as 
dead (Not ok.)

The score estimate is incorrect as a result because the incorrectly marked 
stones are counted as white's territory and captures. Score (incorrect): 'White 
wins by 12 points'. Correct score would be 'Black wins by 2 points'

Hopefully you will be able to reproduce this and see the problem for yourself.

What version of the product are you using? On what operating system?

The version currently on the http://eidogo.com website. I'm currently using 
Firefox 3.6.9 on Ubuntu 10.04 LTS - Lucid Lynx.

Please provide any additional information below.

If black passes (Press pass button in Eidogo) before pressing 'Score estimate' 
then the game is scored correctly and black wins by 2 points.

Original issue reported on code.google.com by pti...@gmail.com on 28 Sep 2010 at 12:57