Game

Game ID: {{ game_id }}

gamestate: {{ gamestate }}

Number of Players: {{ gamestate.n_players }}

Current Player: {{ gamestate.current_player }}

Starting Player: {{ gamestate.starting_player }}

Player Names: {{ gamestate.player_names }}

Game End: {{ gamestate.game_end }}

Rounds: {{ gamestate.rounds }}

Days: {{ gamestate.days }}

Market

{% for color, number in gamestate.market.items() %}

{{ color }}: {{ number }}

{% endfor %}

Factories

{% for factory in gamestate.factories %}

factory nr: {{ loop.index }}

{% for color, number in factory.items() %}

{{ color }}: {{ number }}

{% endfor %} {% endfor %}

Players:

{% for name, player_data in gamestate.players.items() %} {% if player_name == name %}

{{ player_name }} (You)

{% else %}

{{ name }}

{% endif %}

Ready: {{ player_data.ready }}

Points: {{ player_data.points }}

Pattern Lines

{% for line in player_data.pattern_lines %}

Color: {{ line.color }}, Number: {{ line.number }}

{% endfor %}

Wall

{% for row in player_data.wall %}

{{ row }}

{% endfor %}

Floor

{% for color, number in player_data.floor.items() %}

{{ color }}: {{ number }}

{% endfor %} {% endfor %} {% if player_name %}

Play area

Playing as: {{ player_name }}

{% endif %}