Created
April 15, 2016 18:15
-
-
Save nikolaswise/bece0415d5a8ce68b0998032f1ff8043 to your computer and use it in GitHub Desktop.
joseki party game state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joseki-party: { | |
// name in url, generated on new game | |
ironrabbit-fancier: { | |
// Gets set when one player passes their turn. Reflects in the UI. | |
// Two passes end the game | |
pass: { | |
black: false, | |
white: false | |
} | |
// If a player resigns, this gets marked | |
resign: { | |
black: false, | |
white: false | |
} | |
black: foo, // unique player id stored on localstored | |
white: bar, // unique player id stored on localstored | |
size: 13, // board size, defined on start | |
komi: 0.5, // komi, used for scoring | |
goban: Game // weiqi npm module tracks hame | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment