Skip to content

Instantly share code, notes, and snippets.

@bernatfortet
Last active December 15, 2015 01:59
Show Gist options
  • Save bernatfortet/5184423 to your computer and use it in GitHub Desktop.
Save bernatfortet/5184423 to your computer and use it in GitHub Desktop.
"request": {
"action": "onStartGame",
"params": {
"numPlayers" : "3",
"game" : "mystique",
"humanPlayers": {
"0" : "player-0000",
"1" : "player-0001"
}
"aiPlayers": {
"0" : "ai-0000",
}
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCreateDeck",
"params" :{
"deckId" : "deck-0000",
},
"timestamp": "1363570125302"
}
"request": {
"action": "onSuffleDeck",
"params" :{
"deckId" : "deck-0000",
"cards" : {
"0":"0", "1":"2", "2":"45", "3":"54", "4":"29", "5":"45", "6":"12", "7":"9", "8":"58", "9":"24", "10":"9", "11":"35", "12":"26", "13":"15", "14":"6", "15":"20", "16":"53", "17":"25", "18":"15", "19":"51", "20":"58", "21":"8", "22":"55", "23":"27", "24":"57", "25":"2", "26":"7", "27":"7", "28":"19", "29":"48", "30":"34", "31":"11", "32":"56", "33":"19", "34":"36", "35":"54", "36":"4", "37":"50", "38":"48", "39":"7", "40":"5", "41":"1", "42":"57", "43":"22", "44":"15", "45":"14", "46":"37", "47":"28", "48":"50", "49":"57", "50":"35", "51":"26", "52":"17", "53":"40", "54":"0", "55":"39", "56":"17", "57":"1", "58":"4", "59":"22"
}
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-32",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-15",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-13",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-54",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
//Player 1 Draws 4 cards
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-32",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
},
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-15",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-13",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-54",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
//Player 2 Draws 4 cards
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-03",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-44",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-33",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-09",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
//AI 1 Draws 4 cards
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-04",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-45",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-39",
"areaTo" : "hand-0001"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-29",
"areaTo" : "hand-0002"
},
"timestamp": "1363570125302"
}
//Player 1 Turn =======
//Draws a Card
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-55",
"areaTo" : "hand-0000"
},
"timestamp": "1363570125302"
}
//Puts it on the common board
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "hand-0000"
"cardId" : "card-55",
"areaTo" : "board-0000"
},
"timestamp": "1363570125302"
}
//Passes Turn
"request": {
"action": "onPassTurn",
"params" :{
"palyerId" : "player-0000"
},
"timestamp": "1363570125302"
}
//Player 2 Turn =======
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "deck-0000"
"cardId" : "card-39",
"areaTo" : "hand-0001"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onCardChangesArea",
"params" :{
"areaFrom" : "hand-0001"
"cardId" : "card-33",
"areaTo" : "board-0000"
},
"timestamp": "1363570125302"
}
"request": {
"action": "onPassTurn",
"params" :{
"palyerId" : "player-0001"
},
"timestamp": "1363570125302"
}
//Player AI 1 Turn =======
"request": {
"action": "onRequestAIAction",
"params" :{
"palyerId" : "ai-0000"
},
"timestamp": "1363570125302"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment