clash/server/tests/test_games/advances/writing.outcome1.json
2025-06-20 06:21:41 +00:00

430 lines
No EOL
9 KiB
JSON

{
"state": "Playing",
"players": [
{
"id": 0,
"resources": {
"food": 5,
"wood": 5,
"ore": 5,
"ideas": 3,
"gold": 5,
"mood_tokens": 10,
"culture_tokens": 11
},
"resource_limit": {
"food": 7,
"wood": 7,
"ore": 7,
"ideas": 7,
"gold": 7
},
"cities": [
{
"city_pieces": {
"academy": 0
},
"mood_state": "Happy",
"activations": 1,
"position": "A1"
},
{
"city_pieces": {
"academy": 1,
"port": 1
},
"mood_state": "Angry",
"activations": 6,
"angry_activation": true,
"position": "C2",
"port_position": "C3"
},
{
"city_pieces": {
"obelisk": 1,
"observatory": 1,
"fortress": 1,
"temple": 1
},
"mood_state": "Neutral",
"position": "B1"
},
{
"mood_state": "Angry",
"activations": 4,
"angry_activation": true,
"position": "B3"
}
],
"units": [
{
"position": "C2",
"unit_type": "Infantry",
"id": 0
},
{
"position": "B3",
"unit_type": "Settler",
"id": 3
},
{
"position": "B3",
"unit_type": "Settler",
"id": 4
},
{
"position": "B3",
"unit_type": "Settler",
"id": 5
},
{
"position": "B3",
"unit_type": "Settler",
"id": 6
},
{
"position": "C3",
"unit_type": "Ship",
"id": 7,
"carried_units": [
{
"unit_type": "Cavalry",
"id": 1
},
{
"unit_type": "Elephant",
"id": 2
}
]
},
{
"position": "C3",
"unit_type": "Ship",
"id": 8
},
{
"position": "C3",
"unit_type": "Ship",
"id": 9
}
],
"civilization": "China",
"advances": [
"Writing"
],
"incident_tokens": 1,
"wonder_cards": [
"GreatGardens"
],
"action_cards": [
1
],
"objective_cards": [
1
],
"next_unit_id": 10
},
{
"id": 1,
"resources": {
"food": 2,
"wood": 5,
"ore": 5,
"ideas": 5,
"gold": 5,
"mood_tokens": 9,
"culture_tokens": 9
},
"resource_limit": {
"food": 2,
"wood": 7,
"ore": 7,
"ideas": 7,
"gold": 7
},
"cities": [
{
"mood_state": "Angry",
"activations": 2,
"position": "C1"
},
{
"city_pieces": {
"port": 1
},
"mood_state": "Neutral",
"position": "B2",
"port_position": "C3"
}
],
"units": [
{
"position": "C1",
"unit_type": "Infantry",
"id": 0
},
{
"position": "C1",
"unit_type": "Infantry",
"id": 1
}
],
"civilization": "Rome",
"advances": [
"Farming",
"Mining"
],
"incident_tokens": 3,
"next_unit_id": 2
}
],
"map": {
"tiles": [
[
"A1",
"Fertile"
],
[
"A2",
"Water"
],
[
"A3",
{
"Exhausted": "Forest"
}
],
[
"A4",
"Mountain"
],
[
"B1",
"Mountain"
],
[
"B2",
"Forest"
],
[
"B3",
"Fertile"
],
[
"B4",
"Fertile"
],
[
"B5",
"Fertile"
],
[
"B6",
"Fertile"
],
[
"C1",
"Barren"
],
[
"C2",
"Forest"
],
[
"C3",
"Water"
],
[
"C4",
"Water"
],
[
"C5",
"Water"
],
[
"D1",
"Fertile"
],
[
"D2",
"Water"
],
[
"E2",
"Fertile"
]
]
},
"starting_player_index": 0,
"current_player_index": 0,
"action_log": [
{
"age": 1,
"rounds": [
{
"round": 1,
"players": [
{
"index": 0,
"actions": [
{
"action": {
"Playing": {
"Advance": {
"advance": "Writing",
"payment": {
"food": 1,
"gold": 1
}
}
}
},
"items": [
{
"player": 0,
"Resources": {
"resources": {
"food": 1,
"gold": 1
},
"balance": "Loss"
},
"origin": {
"Ability": "Advance"
}
},
{
"player": 0,
"HandCard": {
"card": {
"ActionCard": 1
},
"from": "DrawPile",
"to": {
"Hand": 0
}
},
"origin": {
"Advance": "Writing"
}
},
{
"player": 0,
"HandCard": {
"card": {
"ObjectiveCard": 1
},
"from": "DrawPile",
"to": {
"Hand": 0
}
},
"origin": {
"Advance": "Writing"
}
},
{
"player": 0,
"Resources": {
"resources": {
"culture_tokens": 1
},
"balance": "Gain"
},
"origin": {
"Advance": "Writing"
}
}
]
},
{
"action": {
"Playing": {
"Construct": {
"city_position": "A1",
"city_piece": "Academy",
"payment": {
"food": 1,
"wood": 1,
"ore": 1
},
"port_position": null
}
}
},
"items": [
{
"player": 0,
"Resources": {
"resources": {
"food": 1,
"wood": 1,
"ore": 1
},
"balance": "Loss"
},
"origin": {
"Ability": "Construct Building"
}
},
{
"player": 0,
"Resources": {
"resources": {
"ideas": 2
},
"balance": "Gain"
},
"origin": {
"Ability": "Academy"
}
}
]
}
]
}
]
}
]
}
],
"action_log_index": 2,
"log": [
[
"Player1: Advance: Pay 1 food and 1 gold",
"Player1: Advance: Gain Writing",
"Player1: Writing: Draw an action card",
"Player1: Writing: Draw an objective card",
"Player1: Writing: Gain 1 culture token"
],
[
"Player1: Construct Building: Pay 1 food, 1 wood and 1 ore",
"Player1: Construct Building: Build a Academy in the city A1",
"Player1: Academy: Gain 2 ideas"
]
],
"undo_limit": 1,
"actions_left": 0,
"round": 6,
"age": 1,
"messages": [
"The game has started"
],
"dice_roll_outcomes": [
1,
1,
10,
10,
10,
10,
10,
10,
10,
10
],
"rng": "46312381643103681595563341886777350953",
"wonders_left": [
"Pyramids"
]
}