Skip to content
AHAPX edited this page Aug 19, 2016 · 2 revisions

data api

colors

name
white
black

figures

names

Full names you can see in game info. Short names are used in moves list.

full name short name
pawn
rook R
knight N
bishop B
queen Q
king K

attributes

Each figure has few attributes:

  • kind
  • color
  • positon - coorditates of figure's cell
  • moves - list of moves, which figure can do

example:

{
  "kind": "king",
  "position": "e8",
  "color": "black",
  "moves": ["d7", "f7", "f8", "d8", "e7"]
}

types of games

name description
no limit there is no any time limits for move or game
slow every player must do each move in time period
fast every player has time for full game

periods

no limit

no limits, no periods

slow

code description
1d 1 day
3d 3 days
7d 7 days
15d 15 days
30d 30 days

fast

code description
5m 5 minutes
10m 10 minutes
30m 30 minutes
1h 1 hour
3h 3 hours

Types of games could be changed in future, you can always get actual types from server.

Clone this wiki locally