Game json output schema


#1

Hi, I’m trying to understand the json schema used when running game with --results-as-json flag.
Most of the fields make sense, but there’s a semicolon ( ; ) separated string under “final_state”. Can anyone explain what’s in that string?

Here’s an example with my inference:
# game engine version?
1.1.6
# map stats: map_type, height, width, num_players, random_seed
fractal,32,32,2,1544836404
# halite remaining at the end of the game
0,57,232,190,424,234,147,198…<>
# What are these?
0
4000
8-16,
0-8-16-0,
1
0
23-16,

I’d be grateful if someone could explain what the bottom fields are.


#2

Consider it a leftover unfinished feature - you can safely ignore it. It isn’t used anywhere.


#3

Hello,

I had the same questions and my initial guess was:
0 is your player number
4000 is your starting halite
8-16 and 0-8-16-0 are two representations of your shipyard position
1 & 0 are the players id
23-16 ? probably the other player shipyard ?

Best,
JP