74 lines
1.6 KiB
Plaintext
74 lines
1.6 KiB
Plaintext
|
# Ozai
|
||
|
|
||
|
A game server for sharing gamestate of azul boards
|
||
|
|
||
|
|
||
|
## JSON
|
||
|
|
||
|
```
|
||
|
game: {
|
||
|
current_player: 0-4
|
||
|
bag: {
|
||
|
blue: 0-20 (integer),
|
||
|
yellow: 0-20 (integer),
|
||
|
red: 0-20 (integer),
|
||
|
black: 0-20 (integer),
|
||
|
white: 0-20 (integer),
|
||
|
},
|
||
|
lid: {
|
||
|
blue: 0-20 (integer),
|
||
|
yellow: 0-20 (integer),
|
||
|
red: 0-20 (integer),
|
||
|
black: 0-20 (integer),
|
||
|
white: 0-20 (integer),
|
||
|
},
|
||
|
factories: (5-9) [
|
||
|
{
|
||
|
blue: 0-4 (integer),
|
||
|
yellow: 0-4 (integer),
|
||
|
red: 0-4 (integer),
|
||
|
black: 0-4 (integer),
|
||
|
white: 0-4 (integer),
|
||
|
},
|
||
|
...,
|
||
|
],
|
||
|
market: {
|
||
|
start: 0-1 (integer),
|
||
|
blue: 0-20 (integer),
|
||
|
yellow: 0-20 (integer),
|
||
|
red: 0-20 (integer),
|
||
|
black: 0-20 (integer),
|
||
|
white: 0-20 (integer),
|
||
|
},
|
||
|
players: (2-4) [
|
||
|
{
|
||
|
points: (integer),
|
||
|
patternLines: [
|
||
|
{
|
||
|
color: (string),
|
||
|
number: int,
|
||
|
},
|
||
|
],
|
||
|
|
||
|
wall: [
|
||
|
{
|
||
|
blue: (bool),
|
||
|
yellow: (bool),
|
||
|
red: (bool),
|
||
|
black: (bool),
|
||
|
white: (bool),
|
||
|
},
|
||
|
],
|
||
|
floor: {
|
||
|
start: 0-1 (integer),
|
||
|
blue: 0-4 (integer),
|
||
|
yellow: 0-4 (integer),
|
||
|
red: 0-4 (integer),
|
||
|
black: 0-4 (integer),
|
||
|
white: 0-4 (integer),
|
||
|
},
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
```
|