Fetch Cards

This command is available to all players that are in a game with state INGAME. With it players can fetch their current hand and see which cards they are able to play.

Thus the prerequisites look like this.

Prerequisites

  • Logged in
  • Game in state INGAME
  • Sender needs not to be the CardJizzer

Sample

{
    "command": "fetchcards"
}

Response

{
    "errorCode": 0,
    "message": "OK",
    "jsonData": [
        {
            "text": "some-funny-text",
            "uuid": "some-random-uuid-here"
        },
        {
            "text": "some-funny-text",
            "uuid": "some-random-uuid-here"
        },
        {
            "text": "some-funny-text",
            "uuid": "some-random-uuid-here"
        }
    ]
}