You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Scott Wilson (JIRA)" <ji...@apache.org> on 2010/10/07 14:09:31 UTC

[jira] Commented: (WOOKIE-149) Sudoku widget not working correctly

    [ https://issues.apache.org/jira/browse/WOOKIE-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918894#action_12918894 ] 

Scott Wilson commented on WOOKIE-149:
-------------------------------------

I've updated to the latest version of the script, though this doesn't fix the issue.

The issue is caused when the widget is first instantiated for a particular sharedDataKey - if it is initially instantiated by two users at the same time, both instances think they have to generate the first puzzle. After that they seem to go back into sync. Obviously the "demo" view shows this behaviour particularly well.

So a solution needs to target the actual JS used by the game to prevent this happening, maybe adding some timing, or just to override the puzzle if another instance sets it.



> Sudoku widget not working correctly
> -----------------------------------
>
>                 Key: WOOKIE-149
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-149
>             Project: Wookie
>          Issue Type: Bug
>            Reporter: Scott Wilson
>             Fix For: 0.8.2
>
>
> The Sudoku widget doesn't seem to work correctly, particularly when using the "demo" view as each user gets a different Sudoku rather than playing the same one!
> This may be fixed by updating the widget using the latest versions of the scripts at:
> http://code.google.com/p/socialsudoku/source/browse/#svn/trunk
> (Note the latest version is also now explicitly ASF-licensed)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.