Skip to content

Instantly share code, notes, and snippets.

@bdbch
Created November 13, 2015 12:29
Show Gist options
  • Save bdbch/795c40e4ff011e027d92 to your computer and use it in GitHub Desktop.
Save bdbch/795c40e4ff011e027d92 to your computer and use it in GitHub Desktop.
{
"param": {
"room_name": "Room 1024",
"players": [
{
"player_name": "aoikaze",
"player_position": 1,
"player_picture": "http://img.blabla.com/asd.png",
"player_id": 100
},
{
"player_name": "aoikaze2",
"player_position": 2,
"player_picture": "http://img.blabla.com/asd.png",
"player_id": 101
},
{
"player_name": "aoikaze3",
"player_position": 3,
"player_picture": "http://img.blabla.com/asd.png",
"player_id": 102
}
],
"room_id": 1024
},
"method": "game_room_enter"
}
{
"param": {
"room_id": 1024
},
"method": "game_round_start"
}
{
"param": {
"room_id": 1024,
"card_set": [
{
"card_number": 1,
"card_suit": 2,
"card_index": 0
},
{
"card_number": 2,
"card_suit": 1,
"card_index": 1
}
]
},
"method": "game_round_card"
}
{
"param": {
"turn_position": 2,
"room_id": 1024,
"last_card": {
"card_number": 2,
"card_suit": 2
},
"last_player": 1
},
"method": "game_turn_order"
}
{
"param": {
"player_position": 1,
"room_id": 1024,
"cards": [
1,
2
],
"pass": false
},
"method": "game_turn_player"
}
{
"param": {
"player_position": 1,
"room_id": 1024
},
"method": "game_turn_timeout"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment