Skip to content

Instantly share code, notes, and snippets.

@mokele
Created October 21, 2012 14:31
Show Gist options
  • Save mokele/3927134 to your computer and use it in GitHub Desktop.
Save mokele/3927134 to your computer and use it in GitHub Desktop.
XGoban spec for TIC-TAC-GO - which is not an interesting game
var goban = XGoban('#goban', {
geometry: {
width: 10, height: 10,
points: [
[4, 2, [3]], // 0
[6, 2, [4]], // 1
[2, 4, [3]], // 2
[4, 4, [0, 2, 4, 7]], // 3
[6, 4, [1, 3, 5, 8]], // 4
[8, 4, [4]], // 5
[2, 6, [7]], // 6
[4, 6, [3, 6, 8, 10]], // 7
[6, 6, [4, 7, 9, 11]], // 8
[8, 6, [8]], // 9
[4, 8, [7]], // 10
[6, 8, [8]] // 11
]
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment