Automation buttons were introduced to add some level of automation to the platform while being user friendly to mobile users.

At the moment they can move cards between card piles, shuffle flip cards in card piles and change values in multiple counters at once

https://twitter.com/playingcardsio/status/1284193331736535040

https://twitter.com/playingcardsio/status/1298309783657701377?s=20

https://twitter.com/playingcardsio/status/1307003450828484608?s=20

There is an onficial documentation on automation buttons

PlayingCards.io Documentation

.Json format

This is an automation button as the game creates it

{
  "id": "3d86962c-6583-4b31-b6ee-f11733d76c9e",
  "x": 205.33333333333331,
  "y": 199,
  "z": 2,
  "type": "automationButton",
  "label": "DEAL",
  "clickRoutine": [
    {
      "func": "MOVE_CARDS_BETWEEN_HOLDERS",
      "args": {
        "from": {
          "type": "literal",
          "value": []
        },
        "to": {
          "type": "literal",
          "value": []
        },
        "quantity": {
          "type": "literal",
          "value": 1
        }
      }
    }
  ]
}

and this is how it looks

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/4105e1ca-2bdd-4389-b916-0909a6dfc0ea/Untitled.png

It has one automation routine but this routine in incomplete and does nothing.

Atributes

An spinner has the following atributes: