Skip to content

Instantly share code, notes, and snippets.

@qoobaa
Created July 19, 2011 14:27
Show Gist options
  • Save qoobaa/1092542 to your computer and use it in GitHub Desktop.
Save qoobaa/1092542 to your computer and use it in GitHub Desktop.
table1 = {
table: {
"id": 1,
"version": 5,
"players": [
{ "id": 1, name: "user N", direction: "N" },
{ "id": 2, name: "user E", direction: "E" },
{ "id": 3, name: "user S", direction: "S" },
{ "id": 4, name: "user W", direction: "W" }
],
"board": {
"id": 1,
"deal": {
"N": ["SA", "SK", "SJ", "S9", "S5", "HA", "HQ", "H6", "H5", "H2", "DK", "CK", "C9"],
"E": ["ST", "S7", "S6", "S3", "HJ", "HT", "H8", "H4", "D4", "D3", "D2", "C6", "C2"],
"S": ["SQ", "S2", "HK", "DA", "D7", "D6", "D5", "CA", "CJ", "CT", "C8", "C7", "C4"],
"W": ["S8", "S4", "H9", "H7", "H3", "DQ", "DJ", "DT", "D9", "D8", "CQ", "C5", "C3"]
},
"dealer": "N",
"vulnerable": "NONE",
"bids": [
{ "bid": "1C", "id": 1, alert: true, message: "polish club" },
{ "bid": "X", "id": 2, alert: false },
{ "bid": "PASS", "id": 3, alert: false },
{ "bid": "1H", "id": 4, alert: false },
{ "bid": "PASS", "id": 5, alert: false },
{ "bid": "PASS", "id": 6, alert: false },
{ "bid": "PASS", "id": 7, alert: false }
],
"cards": [
{ "card": "SA", "id": 1 },
{ "card": "S7", "id": 2 }
]
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment