Skip to content

fix(games): Player could be anonymous

Quang Le Hong requested to merge iamquang95/licorice:anonymous-player into master

Players in a game could be anonymous.

For example with the game_id = d0okIAiK, the players in json type will return:

  "players": {
    "white": {
      "user": {
        "name": "iamquang95",
        "id": "iamquang95"
      },
      "rating": 1296
    },
    "black": {}
  },

Merge request reports