Created
April 15, 2016 19:39
-
-
Save nikolaswise/52c2589692ad360d1d42395e2981fda8 to your computer and use it in GitHub Desktop.
joseki party game server json
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 | |
turn: black // Which player is next? | |
last: [4,4] // Which stone was most reently played? | |
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