Giter VIP home page Giter VIP logo

18xx's People

Contributors

andypymont avatar benjaminxscott avatar crericha avatar daniel-sousa-me avatar dfannius avatar doubt72 avatar jason-johnson avatar jcoveney avatar jenf avatar joeb989 avatar kelsin avatar magnusrk-ch avatar magnusstjarnhild avatar marndt93 avatar michaeljb avatar outsidepasser avatar perwestling avatar philcampeau avatar roseundy avatar ryandriskel avatar scottredracecar avatar thepackrat avatar tobymao avatar tysen avatar underhilllabs avatar vandamm avatar ventusignis avatar volker18xxdev avatar yzemaze avatar zwergenpunk avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

th3tick

18xx's Issues

Emergency buying

  • Aren't allow to sell treasury shares (Do you have to?)
  • Double check sell by 3 limit

Bug when passing during auction

rack_1   | E, [2021-11-13T18:11:44.769457 #22] ERROR -- : ["/18xx/lib/engine/game/g_1871/step/auction.rb:173:in `assign_item'", "/18xx/lib/engi
ne/game/g_1871/step/auction.rb:220:in `force_item'", "/18xx/lib/engine/game/g_1871/step/auction.rb:105:in `process_pass'", "/18xx/lib/engine/ro
und/base.rb:93:in `process_action'", "/18xx/lib/engine/game/base.rb:704:in `process_single_action'", "/18xx/lib/engine/game/base.rb:676:in `pro
cess_action'", "/18xx/routes/game.rb:88:in `block (6 levels) in <class:Api>'", "/usr/local/bundle/gems/sequel-pg_advisory_lock-0.1.2/lib/sequel
/extensions/pg_advisory_lock.rb:51:in `block in with_advisory_lock'", "/usr/local/bundle/gems/sequel-5.50.0/lib/sequel/connection_pool/threaded
.rb:92:in `hold'", "/usr/local/bundle/gems/sequel-5.50.0/lib/sequel/database/connecting.rb:269:in `synchronize'", "/usr/local/bundle/gems/seque
l-pg_advisory_lock-0.1.2/lib/sequel/extensions/pg_advisory_lock.rb:48:in `with_advisory_lock'", "/18xx/routes/game.rb:55:in `block (5 levels) i
n <class:Api>'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/_optimized_matching.rb:140:in `block in _is1'", "/usr/local/bundle/gems/r
oda-3.49.0/lib/roda/request.rb:497:in `always'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/_optimized_matching.rb:140:in `_is1'", "/
usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/_optimized_matching.rb:25:in `is'", "/18xx/routes/game.rb:50:in `block (4 levels) in <class:
Api>'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/request.rb:497:in `always'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/_optimiz
ed_matching.rb:124:in `_verb'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/request.rb:243:in `post'", "/18xx/routes/game.rb:18:in `block (3 l
evels) in <class:Api>'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/_optimized_matching.rb:57:in `block in on'", "/usr/local/bundle/g
ems/roda-3.49.0/lib/roda/request.rb:497:in `always'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/_optimized_matching.rb:57:in `on'",
"/18xx/routes/game.rb:7:in `block (2 levels) in <class:Api>'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/hash_routes.rb:426:in `bloc
k in hash_branches'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/request.rb:497:in `always'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/pl
ugins/hash_routes.rb:426:in `hash_branches'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/hash_routes.rb:448:in `hash_routes'", "/18xx
/api.rb:80:in `block (2 levels) in <class:Api>'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/hash_routes.rb:426:in `block in hash_bra
nches'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/request.rb:497:in `always'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/hash_ro
utes.rb:426:in `hash_branches'", "/18xx/api.rb:99:in `block in <class:Api>'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda.rb:518:in `_roda_run
_main_route'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/_before_hook.rb:27:in `_roda_run_main_route'", "/usr/local/bundle/gems/roda
-3.49.0/lib/roda.rb:496:in `block in _roda_handle_main_route'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda.rb:494:in `catch'", "/usr/local/bu
ndle/gems/roda-3.49.0/lib/roda.rb:494:in `_roda_handle_main_route'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda/plugins/error_handler.rb:87:i
n `_roda_handle_main_route'", "/usr/local/bundle/gems/roda-3.49.0/lib/roda.rb:380:in `block in base_rack_app_callable'", "/usr/local/bundle/gem
s/rack-2.2.3/lib/rack/deflater.rb:44:in `call'", "/usr/local/bundle/gems/message_bus-3.3.6/lib/message_bus/rack/middleware.rb:61:in `call'", "/
usr/local/bundle/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'", "/usr/local/bundle/gems/rack-2.2.3/lib/rack/lint.rb:50:in `_call'",
 "/usr/local/bundle/gems/rack-2.2.3/lib/rack/lint.rb:38:in `call'", "/usr/local/bundle/gems/rack-2.2.3/lib/rack/show_exceptions.rb:23:in `call'
", "/usr/local/bundle/gems/rack-2.2.3/lib/rack/common_logger.rb:38:in `call'", "/usr/local/bundle/gems/rack-2.2.3/lib/rack/chunked.rb:98:in `ca
ll'", "/usr/local/bundle/gems/rack-2.2.3/lib/rack/content_length.rb:17:in `call'", "/usr/local/bundle/gems/unicorn-6.0.0/lib/unicorn/http_serve
r.rb:634:in `process_client'", "/usr/local/bundle/gems/unicorn-6.0.0/lib/unicorn/http_server.rb:732:in `worker_loop'", "/usr/local/bundle/gems/
unicorn-6.0.0/lib/unicorn/http_server.rb:547:in `spawn_missing_workers'", "/usr/local/bundle/gems/unicorn-6.0.0/lib/unicorn/http_server.rb:143:
in `start'", "/usr/local/bundle/gems/unicorn-6.0.0/bin/unicorn:128:in `<top (required)>'", "/usr/local/bundle/bin/unicorn:25:in `load'", "/usr/
local/bundle/bin/unicorn:25:in `<main>'"]
rack_1   | E, [2021-11-13T18:11:44.769663 #22] ERROR -- : wrong number of arguments (given 2, expected 3)

Possible to buy 20% share of a company out of the treasury

{
  "status": "active",
  "actions": [
    {
      "type": "offer",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 1,
      "created_at": 1646984126,
      "company": "SBC"
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 2,
      "created_at": 1646984127
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 3,
      "created_at": 1646984127
    },
    {
      "type": "offer",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 4,
      "created_at": 1646984128,
      "company": "P6"
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 5,
      "created_at": 1646984129
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 6,
      "created_at": 1646984129
    },
    {
      "type": "offer",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 7,
      "created_at": 1646984130,
      "company": "ML"
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 8,
      "created_at": 1646984130
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 9,
      "created_at": 1646984130
    },
    {
      "type": "offer",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 10,
      "created_at": 1646984131,
      "company": "MC"
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 11,
      "created_at": 1646984132
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 12,
      "created_at": 1646984132
    },
    {
      "type": "offer",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 13,
      "created_at": 1646984133,
      "company": "P5"
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 14,
      "created_at": 1646984133
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 15,
      "created_at": 1646984134
    },
    {
      "type": "offer",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 16,
      "created_at": 1646984134,
      "company": "SL"
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 17,
      "created_at": 1646984135
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 18,
      "created_at": 1646984135
    },
    {
      "type": "offer",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 19,
      "created_at": 1646984136,
      "company": "P7"
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 20,
      "created_at": 1646984136
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 21,
      "created_at": 1646984136
    },
    {
      "type": "offer",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 22,
      "created_at": 1646984137,
      "company": "UB"
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 23,
      "created_at": 1646984138
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 24,
      "created_at": 1646984138
    },
    {
      "type": "offer",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 25,
      "created_at": 1646984139,
      "company": "P4"
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 26,
      "created_at": 1646984139
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 27,
      "created_at": 1646984139
    },
    {
      "type": "offer",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 28,
      "created_at": 1646984140,
      "company": "SB"
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 29,
      "created_at": 1646984141
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 30,
      "created_at": 1646984141
    },
    {
      "type": "offer",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 31,
      "created_at": 1646984142,
      "company": "P2"
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 32,
      "created_at": 1646984142
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 33,
      "created_at": 1646984142
    },
    {
      "type": "offer",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 34,
      "created_at": 1646984143,
      "company": "RA"
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 35,
      "created_at": 1646984144
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 36,
      "created_at": 1646984144
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 37,
      "created_at": 1646984145
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 38,
      "created_at": 1646984146
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 39,
      "created_at": 1646984147
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 40,
      "created_at": 1646984147
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 41,
      "created_at": 1646984151,
      "shares": [
        "So_1"
      ],
      "percent": 10
    },
    {
      "type": "buy_shares",
      "entity": "MC",
      "entity_type": "company",
      "id": 42,
      "created_at": 1646984158,
      "shares": [
        "So_6"
      ],
      "percent": 10
    },
    {
      "type": "buy_shares",
      "entity": "VR",
      "entity_type": "company",
      "id": 43,
      "created_at": 1646984159,
      "shares": [
        "So_7"
      ],
      "percent": 10
    },
    {
      "type": "buy_shares",
      "entity": "SB",
      "entity_type": "company",
      "id": 44,
      "created_at": 1646984160,
      "shares": [
        "So_8"
      ],
      "percent": 10
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 45,
      "created_at": 1646984166,
      "hex": "M13",
      "tile": "6-0",
      "rotation": 2
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 46,
      "created_at": 1646984168,
      "hex": "N12",
      "tile": "7-0",
      "rotation": 1
    },
    {
      "type": "buy_train",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 47,
      "created_at": 1646984170,
      "train": "2H-0",
      "price": 60,
      "variant": "2H"
    },
    {
      "type": "buy_train",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 48,
      "created_at": 1646984171,
      "train": "2H-1",
      "price": 60,
      "variant": "2H"
    },
    {
      "type": "pass",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 49,
      "created_at": 1646984172
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 50,
      "created_at": 1646984174,
      "hex": "V12",
      "tile": "5-0",
      "rotation": 1
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 51,
      "created_at": 1646984175,
      "hex": "U13",
      "tile": "58-0",
      "rotation": 2
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 52,
      "created_at": 1646984178
    },
    {
      "type": "buy_train",
      "entity": "So",
      "entity_type": "corporation",
      "id": 53,
      "created_at": 1646984180,
      "train": "2H-2",
      "price": 60,
      "variant": "2H"
    },
    {
      "type": "buy_train",
      "entity": "So",
      "entity_type": "corporation",
      "id": 54,
      "created_at": 1646984182,
      "train": "2H-3",
      "price": 60,
      "variant": "2H"
    },
    {
      "type": "buy_train",
      "entity": "So",
      "entity_type": "corporation",
      "id": 55,
      "created_at": 1646984182,
      "train": "3H-0",
      "price": 80,
      "variant": "3H"
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 56,
      "created_at": 1646984183
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 57,
      "created_at": 1646984185,
      "hex": "D6",
      "tile": "6-1",
      "rotation": 0
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 58,
      "created_at": 1646984186,
      "hex": "C5",
      "tile": "56-0",
      "rotation": 2
    },
    {
      "type": "buy_train",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 59,
      "created_at": 1646984188,
      "train": "3H-1",
      "price": 80,
      "variant": "3H",
      "skip": true
    },
    {
      "type": "undo",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 60,
      "created_at": 1646984208,
      "skip": true
    },
    {
      "type": "buy_train",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 61,
      "created_at": 1646984214,
      "train": "3H-1",
      "price": 80,
      "variant": "3H"
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 62,
      "created_at": 1646984217
    },
    {
      "type": "buy_shares",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 63,
      "created_at": 1646984222,
      "shares": [
        "MS_3"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 64,
      "created_at": 1646984224
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 65,
      "created_at": 1646984226
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 66,
      "created_at": 1646984228
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 67,
      "created_at": 1646984232,
      "hex": "L12",
      "tile": "58-1",
      "rotation": 5
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 68,
      "created_at": 1646984234,
      "hex": "K13",
      "tile": "8-0",
      "rotation": 2
    },
    {
      "type": "run_routes",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 69,
      "created_at": 1646984237,
      "routes": [
        {
          "train": "2H-0",
          "connections": [
            [
              "M13",
              "L12"
            ]
          ],
          "hexes": [
            "M13",
            "L12"
          ],
          "revenue": 30,
          "revenue_str": "M13-L12",
          "nodes": [
            "M13-0",
            "L12-0"
          ]
        },
        {
          "train": "2H-1",
          "connections": [
            [
              "M13",
              "N12",
              "M11"
            ]
          ],
          "hexes": [
            "M13",
            "M11"
          ],
          "revenue": 40,
          "revenue_str": "M13-M11",
          "nodes": [
            "M13-0",
            "M11-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 70,
      "created_at": 1646984238,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 71,
      "created_at": 1646984239,
      "train": "3H-2",
      "price": 80,
      "variant": "3H"
    },
    {
      "type": "buy_train",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 72,
      "created_at": 1646984241,
      "train": "4H-0",
      "price": 100,
      "variant": "4H"
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 73,
      "created_at": 1646984244,
      "hex": "T12",
      "tile": "6-2",
      "rotation": 3
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 74,
      "created_at": 1646984246
    },
    {
      "type": "place_token",
      "entity": "So",
      "entity_type": "corporation",
      "id": 75,
      "created_at": 1646984247,
      "city": "5-0-0",
      "slot": 0,
      "tokener": "So"
    },
    {
      "type": "run_routes",
      "entity": "So",
      "entity_type": "corporation",
      "id": 76,
      "created_at": 1646984249,
      "routes": [
        {
          "train": "3H-0",
          "connections": [
            [
              "T12",
              "T10",
              "U11",
              "V12"
            ]
          ],
          "hexes": [
            "T12",
            "V12"
          ],
          "revenue": 40,
          "revenue_str": "T12-V12",
          "nodes": [
            "T12-0",
            "V12-0"
          ]
        },
        {
          "train": "2H-2",
          "connections": [
            [
              "T12",
              "U13"
            ]
          ],
          "hexes": [
            "T12",
            "U13"
          ],
          "revenue": 30,
          "revenue_str": "T12-U13",
          "nodes": [
            "T12-0",
            "U13-0"
          ]
        },
        {
          "train": "2H-3",
          "connections": [
            [
              "V12",
              "U13"
            ]
          ],
          "hexes": [
            "V12",
            "U13"
          ],
          "revenue": 30,
          "revenue_str": "V12-U13",
          "nodes": [
            "V12-0",
            "U13-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "So",
      "entity_type": "corporation",
      "id": 77,
      "created_at": 1646984250,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "So",
      "entity_type": "corporation",
      "id": 78,
      "created_at": 1646984251,
      "train": "4H-1",
      "price": 100,
      "variant": "4H"
    },
    {
      "type": "buy_company",
      "entity": "So",
      "entity_type": "corporation",
      "id": 79,
      "created_at": 1646984255,
      "company": "HSE",
      "price": 200
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 80,
      "created_at": 1646984256
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 81,
      "created_at": 1646984259,
      "hex": "C3",
      "tile": "8-1",
      "rotation": 4
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 82,
      "created_at": 1646984261,
      "hex": "E15",
      "tile": "8-2",
      "rotation": 2
    },
    {
      "type": "run_routes",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 83,
      "created_at": 1646984263,
      "routes": [
        {
          "train": "3H-1",
          "connections": [
            [
              "D6",
              "C5"
            ],
            [
              "C5",
              "C3",
              "D2"
            ]
          ],
          "hexes": [
            "D6",
            "C5",
            "D2"
          ],
          "revenue": 50,
          "revenue_str": "D6-C5-D2",
          "nodes": [
            "D6-0",
            "C5-1",
            "D2-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 84,
      "created_at": 1646984264,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 85,
      "created_at": 1646984265,
      "train": "4H-2",
      "price": 100,
      "variant": "4H"
    },
    {
      "type": "buy_shares",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 86,
      "created_at": 1646984275,
      "shares": [
        "MS_4"
      ],
      "percent": 10,
      "purchase_for_type": "player",
      "purchase_for": -1,
      "borrow_from_type": "player",
      "borrow_from": "Player 2"
    },
    {
      "type": "split",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 87,
      "created_at": 1646984277,
      "corporation": "So"
    },
    {
      "type": "choose",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 88,
      "created_at": 1646984278,
      "choice": "BB"
    },
    {
      "type": "choose",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 89,
      "created_at": 1646984297,
      "choice": "58,6,1"
    },
    {
      "type": "choose",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 90,
      "created_at": 1646984301,
      "choice": "2H-3"
    },
    {
      "type": "choose",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 91,
      "created_at": 1646984302,
      "choice": "3H-0"
    },
    {
      "type": "choose",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 92,
      "created_at": 1646984303,
      "choice": "done"
    },
    {
      "type": "choose",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 93,
      "created_at": 1646984304,
      "choice": 0
    },
    {
      "type": "buy_shares",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 94,
      "created_at": 1646984315,
      "shares": [
        "BB_3"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 95,
      "created_at": 1646984318
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 96,
      "created_at": 1646984320,
      "shares": [
        "BB_4"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 97,
      "created_at": 1646984322
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 98,
      "created_at": 1646984323
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 99,
      "created_at": 1646984324,
      "shares": [
        "BB_5"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 100,
      "created_at": 1646984325
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 101,
      "created_at": 1646984325
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 102,
      "created_at": 1646984327,
      "shares": [
        "BB_6"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 103,
      "created_at": 1646984328
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 104,
      "created_at": 1646984329
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 105,
      "created_at": 1646984330,
      "shares": [
        "BB_7"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 106,
      "created_at": 1646984335
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 107,
      "created_at": 1646984336
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 108,
      "created_at": 1646984339,
      "shares": [
        "So_2"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 109,
      "created_at": 1646984343
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 110,
      "created_at": 1646984343
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 111,
      "created_at": 1646984346
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 112,
      "created_at": 1646984349,
      "hex": "M13",
      "tile": "PEI5-0",
      "rotation": 1
    },
    {
      "type": "run_routes",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 113,
      "created_at": 1646984352,
      "routes": [
        {
          "train": "2H-0",
          "connections": [
            [
              "M13",
              "L12"
            ]
          ],
          "hexes": [
            "M13",
            "L12"
          ],
          "revenue": 40,
          "revenue_str": "M13-L12",
          "nodes": [
            "M13-0",
            "L12-0"
          ]
        },
        {
          "train": "2H-1",
          "connections": [
            [
              "M13",
              "N12",
              "M11"
            ]
          ],
          "hexes": [
            "M13",
            "M11"
          ],
          "revenue": 50,
          "revenue_str": "M13-M11",
          "nodes": [
            "M13-0",
            "M11-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 114,
      "created_at": 1646984353,
      "kind": "payout"
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 115,
      "created_at": 1646984357,
      "hex": "T12",
      "tile": "PEI6-0",
      "rotation": 4
    },
    {
      "type": "run_routes",
      "entity": "So",
      "entity_type": "corporation",
      "id": 116,
      "created_at": 1646984359,
      "routes": [
        {
          "train": "2H-2",
          "connections": [
            [
              "T12",
              "U13"
            ],
            [
              "U13",
              "V12"
            ]
          ],
          "hexes": [
            "T12",
            "U13",
            "V12"
          ],
          "revenue": 60,
          "revenue_str": "T12-U13-V12",
          "nodes": [
            "T12-0",
            "U13-0",
            "V12-0"
          ]
        },
        {
          "train": "4H-1",
          "connections": [
            [
              "T12",
              "T14"
            ],
            [
              "T14",
              "U15",
              "U17",
              "V16"
            ]
          ],
          "hexes": [
            "T12",
            "T14",
            "V16"
          ],
          "revenue": 90,
          "revenue_str": "T12-T14-V16",
          "nodes": [
            "T12-0",
            "T14-0",
            "V16-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "So",
      "entity_type": "corporation",
      "id": 117,
      "created_at": 1646984360,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "So",
      "entity_type": "corporation",
      "id": 118,
      "created_at": 1646984361,
      "train": "5H-0",
      "price": 160,
      "variant": "5H"
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 119,
      "created_at": 1646984362
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 120,
      "created_at": 1646984365
    },
    {
      "type": "lay_tile",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 121,
      "created_at": 1646984372,
      "hex": "S11",
      "tile": "8-3",
      "rotation": 4
    },
    {
      "type": "lay_tile",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 122,
      "created_at": 1646984374,
      "hex": "S13",
      "tile": "8-4",
      "rotation": 1
    },
    {
      "type": "pass",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 123,
      "created_at": 1646984375
    },
    {
      "type": "run_routes",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 124,
      "created_at": 1646984377,
      "routes": [
        {
          "train": "3H-0",
          "connections": [
            [
              "V12",
              "U13"
            ],
            [
              "U13",
              "T12"
            ],
            [
              "T12",
              "T14"
            ]
          ],
          "hexes": [
            "V12",
            "U13",
            "T12",
            "T14"
          ],
          "revenue": 80,
          "revenue_str": "V12-U13-T12-T14",
          "nodes": [
            "V12-0",
            "U13-0",
            "T12-0",
            "T14-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 125,
      "created_at": 1646984378,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 126,
      "created_at": 1646984380,
      "train": "5H-1",
      "price": 160,
      "variant": "5H"
    },
    {
      "type": "pass",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 127,
      "created_at": 1646984381
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 128,
      "created_at": 1646984383,
      "hex": "D4",
      "tile": "8-5",
      "rotation": 1
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 129,
      "created_at": 1646984388,
      "hex": "R16",
      "tile": "6-3",
      "rotation": 3
    },
    {
      "type": "run_routes",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 130,
      "created_at": 1646984391,
      "routes": [
        {
          "train": "3H-1",
          "connections": [
            [
              "F14",
              "E15",
              "D14"
            ]
          ],
          "hexes": [
            "F14",
            "D14"
          ],
          "revenue": 40,
          "revenue_str": "F14-D14",
          "nodes": [
            "F14-0",
            "D14-0"
          ]
        },
        {
          "train": "4H-2",
          "connections": [
            [
              "D6",
              "C5"
            ],
            [
              "C5",
              "C3",
              "D2"
            ]
          ],
          "hexes": [
            "D6",
            "C5",
            "D2"
          ],
          "revenue": 50,
          "revenue_str": "D6-C5-D2",
          "nodes": [
            "D6-0",
            "C5-1",
            "D2-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 131,
      "created_at": 1646984392,
      "kind": "payout"
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 132,
      "created_at": 1646984396,
      "hex": "L14",
      "tile": "7-1",
      "rotation": 5
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 133,
      "created_at": 1646984397,
      "hex": "J12",
      "tile": "8-6",
      "rotation": 5
    },
    {
      "type": "run_routes",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 134,
      "created_at": 1646984399,
      "routes": [
        {
          "train": "3H-2",
          "connections": [
            [
              "M13",
              "L12"
            ]
          ],
          "hexes": [
            "M13",
            "L12"
          ],
          "revenue": 40,
          "revenue_str": "M13-L12",
          "nodes": [
            "M13-0",
            "L12-0"
          ]
        },
        {
          "train": "4H-0",
          "connections": [
            [
              "M13",
              "N12",
              "M11"
            ]
          ],
          "hexes": [
            "M13",
            "M11"
          ],
          "revenue": 50,
          "revenue_str": "M13-M11",
          "nodes": [
            "M13-0",
            "M11-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 135,
      "created_at": 1646984401,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 136,
      "created_at": 1646984402,
      "train": "5H-2",
      "price": 160,
      "variant": "5H"
    },
    {
      "type": "pass",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 137,
      "created_at": 1646984403
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 138,
      "created_at": 1646984406,
      "hex": "R14",
      "tile": "8-7",
      "rotation": 4
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 139,
      "created_at": 1646984408
    },
    {
      "type": "run_routes",
      "entity": "So",
      "entity_type": "corporation",
      "id": 140,
      "created_at": 1646984410,
      "routes": [
        {
          "train": "4H-1",
          "connections": [
            [
              "T12",
              "T10",
              "U11",
              "V12"
            ]
          ],
          "hexes": [
            "T12",
            "V12"
          ],
          "revenue": 50,
          "revenue_str": "T12-V12",
          "nodes": [
            "T12-0",
            "V12-0"
          ]
        },
        {
          "train": "5H-0",
          "connections": [
            [
              "V16",
              "U17",
              "U15",
              "T14"
            ],
            [
              "T14",
              "T12"
            ],
            [
              "T12",
              "U13"
            ]
          ],
          "hexes": [
            "V16",
            "T14",
            "T12",
            "U13"
          ],
          "revenue": 100,
          "revenue_str": "V16-T14-T12-U13",
          "nodes": [
            "V16-0",
            "T14-0",
            "T12-0",
            "U13-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "So",
      "entity_type": "corporation",
      "id": 141,
      "created_at": 1646984411,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "So",
      "entity_type": "corporation",
      "id": 142,
      "created_at": 1646984413,
      "train": "6H-0",
      "price": 180,
      "variant": "6H"
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 143,
      "created_at": 1646984414
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 144,
      "created_at": 1646984420
    },
    {
      "type": "lay_tile",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 145,
      "created_at": 1646984424,
      "hex": "R16",
      "tile": "PEI5-1",
      "rotation": 0
    },
    {
      "type": "pass",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 146,
      "created_at": 1646984426
    },
    {
      "type": "run_routes",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 147,
      "created_at": 1646984428,
      "routes": [
        {
          "train": "5H-1",
          "connections": [
            [
              "T14",
              "T12"
            ],
            [
              "T12",
              "T10",
              "U11",
              "V12"
            ],
            [
              "V12",
              "U13"
            ]
          ],
          "hexes": [
            "T14",
            "T12",
            "V12",
            "U13"
          ],
          "revenue": 80,
          "revenue_str": "T14-T12-V12-U13",
          "nodes": [
            "T14-0",
            "T12-0",
            "V12-0",
            "U13-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 148,
      "created_at": 1646984429,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 149,
      "created_at": 1646984431,
      "train": "6H-1",
      "price": 180,
      "variant": "6H"
    },
    {
      "type": "pass",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 150,
      "created_at": 1646984431
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 151,
      "created_at": 1646984437,
      "hex": "Q21",
      "tile": "6-4",
      "rotation": 2
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 152,
      "created_at": 1646984440,
      "hex": "P20",
      "tile": "8-8",
      "rotation": 3
    },
    {
      "type": "run_routes",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 153,
      "created_at": 1646984443,
      "routes": [
        {
          "train": "4H-2",
          "connections": [
            [
              "D6",
              "C5"
            ],
            [
              "C5",
              "C3",
              "D2"
            ]
          ],
          "hexes": [
            "D6",
            "C5",
            "D2"
          ],
          "revenue": 50,
          "revenue_str": "D6-C5-D2",
          "nodes": [
            "D6-0",
            "C5-1",
            "D2-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 154,
      "created_at": 1646984443,
      "kind": "payout"
    },
    {
      "type": "par",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 155,
      "created_at": 1646984455,
      "corporation": "A",
      "share_price": "58,6,1"
    },
    {
      "type": "buy_shares",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 156,
      "created_at": 1646984461,
      "shares": [
        "A_1"
      ],
      "percent": 10,
      "skip": true
    },
    {
      "type": "undo",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 157,
      "created_at": 1646984472,
      "skip": true
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 158,
      "created_at": 1646984526
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 159,
      "created_at": 1646984528,
      "shares": [
        "A_1"
      ],
      "percent": 10
    },
    {
      "type": "buy_shares",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 160,
      "created_at": 1646984529,
      "shares": [
        "A_2"
      ],
      "percent": 10,
      "purchase_for_type": "player",
      "purchase_for": -1,
      "borrow_from_type": "player",
      "borrow_from": "Player 2"
    },
    {
      "type": "buy_shares",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 161,
      "created_at": 1646984530,
      "shares": [
        "A_3"
      ],
      "percent": 10
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 162,
      "created_at": 1646984531,
      "shares": [
        "A_4"
      ],
      "percent": 10
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 163,
      "created_at": 1646984533
    },
    {
      "type": "pass",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 164,
      "created_at": 1646984533
    },
    {
      "type": "pass",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 165,
      "created_at": 1646984534
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 166,
      "created_at": 1646984537,
      "hex": "I13",
      "tile": "58-2",
      "rotation": 2,
      "skip": true
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 167,
      "created_at": 1646984540,
      "hex": "H12",
      "tile": "8-9",
      "rotation": 5,
      "skip": true
    },
    {
      "type": "undo",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 168,
      "created_at": 1646984548,
      "skip": true
    },
    {
      "type": "undo",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 169,
      "created_at": 1646984549,
      "skip": true
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 170,
      "created_at": 1646984561,
      "hex": "J12",
      "tile": "29-0",
      "rotation": 5
    },
    {
      "type": "run_routes",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 171,
      "created_at": 1646984564,
      "routes": [
        {
          "train": "4H-0",
          "connections": [
            [
              "M13",
              "L12"
            ]
          ],
          "hexes": [
            "M13",
            "L12"
          ],
          "revenue": 40,
          "revenue_str": "M13-L12",
          "nodes": [
            "M13-0",
            "L12-0"
          ]
        },
        {
          "train": "5H-2",
          "connections": [
            [
              "M13",
              "N12",
              "M11"
            ]
          ],
          "hexes": [
            "M13",
            "M11"
          ],
          "revenue": 50,
          "revenue_str": "M13-M11",
          "nodes": [
            "M13-0",
            "M11-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 172,
      "created_at": 1646984565,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 173,
      "created_at": 1646984567,
      "train": "2+-0",
      "price": 220,
      "variant": "2+"
    },
    {
      "type": "pass",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 174,
      "created_at": 1646984567
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 175,
      "created_at": 1646984570,
      "hex": "Q17",
      "tile": "58-2",
      "rotation": 2
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 176,
      "created_at": 1646984572,
      "hex": "P16",
      "tile": "1-0",
      "rotation": 1
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 177,
      "created_at": 1646984574,
      "skip": true
    },
    {
      "type": "undo",
      "entity": "So",
      "entity_type": "corporation",
      "id": 178,
      "created_at": 1646984577,
      "skip": true
    },
    {
      "type": "place_token",
      "entity": "So",
      "entity_type": "corporation",
      "id": 179,
      "created_at": 1646984579,
      "city": "PEI5-1-0",
      "slot": 1,
      "tokener": "So"
    },
    {
      "type": "run_routes",
      "entity": "So",
      "entity_type": "corporation",
      "id": 180,
      "created_at": 1646984581,
      "routes": [
        {
          "train": "5H-0",
          "connections": [
            [
              "P16",
              "Q17"
            ],
            [
              "Q17",
              "R16"
            ],
            [
              "R16",
              "S17"
            ]
          ],
          "hexes": [
            "P16",
            "Q17",
            "R16",
            "S17"
          ],
          "revenue": 60,
          "revenue_str": "P16-Q17-R16-S17",
          "nodes": [
            "P16-1",
            "Q17-0",
            "R16-0",
            "S17-0"
          ]
        },
        {
          "train": "6H-0",
          "connections": [
            [
              "V16",
              "U17",
              "U15",
              "T14"
            ],
            [
              "T14",
              "T12"
            ],
            [
              "T12",
              "U13"
            ],
            [
              "U13",
              "V12"
            ]
          ],
          "hexes": [
            "V16",
            "T14",
            "T12",
            "U13",
            "V12"
          ],
          "revenue": 120,
          "revenue_str": "V16-T14-T12-U13-V12",
          "nodes": [
            "V16-0",
            "T14-0",
            "T12-0",
            "U13-0",
            "V12-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "So",
      "entity_type": "corporation",
      "id": 181,
      "created_at": 1646984582,
      "kind": "payout",
      "skip": true
    },
    {
      "type": "undo",
      "entity": "So",
      "entity_type": "corporation",
      "id": 182,
      "created_at": 1646984586,
      "skip": true
    },
    {
      "type": "dividend",
      "entity": "So",
      "entity_type": "corporation",
      "id": 183,
      "created_at": 1646984587,
      "kind": "withhold"
    },
    {
      "type": "buy_train",
      "entity": "So",
      "entity_type": "corporation",
      "id": 184,
      "created_at": 1646984588,
      "train": "2+-1",
      "price": 220,
      "variant": "2+"
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 185,
      "created_at": 1646984590
    },
    {
      "type": "lay_tile",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 186,
      "created_at": 1646984596,
      "hex": "V12",
      "tile": "PEI4-0",
      "rotation": 2
    },
    {
      "type": "run_routes",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 187,
      "created_at": 1646984601,
      "routes": [
        {
          "train": "5H-1",
          "connections": [
            [
              "V12",
              "U11",
              "T10",
              "T12"
            ]
          ],
          "hexes": [
            "V12",
            "T12"
          ],
          "revenue": 60,
          "revenue_str": "V12-T12",
          "nodes": [
            "V12-0",
            "T12-0"
          ]
        },
        {
          "train": "6H-1",
          "connections": [
            [
              "V12",
              "U13"
            ],
            [
              "U13",
              "T12"
            ],
            [
              "T12",
              "T14"
            ],
            [
              "T14",
              "U15",
              "U17",
              "V16"
            ]
          ],
          "hexes": [
            "V12",
            "U13",
            "T12",
            "T14",
            "V16"
          ],
          "revenue": 130,
          "revenue_str": "V12-U13-T12-T14-V16",
          "nodes": [
            "V12-0",
            "U13-0",
            "T12-0",
            "T14-0",
            "V16-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 188,
      "created_at": 1646984602,
      "kind": "payout"
    },
    {
      "type": "pass",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 189,
      "created_at": 1646984604
    },
    {
      "type": "lay_tile",
      "entity": "A",
      "entity_type": "corporation",
      "id": 190,
      "created_at": 1646984609,
      "hex": "D6",
      "tile": "PEI8-0",
      "rotation": 0
    },
    {
      "type": "place_token",
      "entity": "A",
      "entity_type": "corporation",
      "id": 191,
      "created_at": 1646984611,
      "city": "D2-0-0",
      "slot": 0,
      "tokener": "A"
    },
    {
      "type": "buy_train",
      "entity": "A",
      "entity_type": "corporation",
      "id": 192,
      "created_at": 1646984613,
      "train": "2+-2",
      "price": 220,
      "variant": "2+"
    },
    {
      "type": "pass",
      "entity": "A",
      "entity_type": "corporation",
      "id": 193,
      "created_at": 1646984614
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 194,
      "created_at": 1646984620,
      "hex": "G15",
      "tile": "8-9",
      "rotation": 0
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 195,
      "created_at": 1646984622,
      "hex": "G17",
      "tile": "6-5",
      "rotation": 1
    },
    {
      "type": "pass",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 196,
      "created_at": 1646984625
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 197,
      "created_at": 1646984628,
      "hex": "J14",
      "tile": "6-6",
      "rotation": 1
    },
    {
      "type": "lay_tile",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 198,
      "created_at": 1646984631,
      "hex": "I15",
      "tile": "8-10",
      "rotation": 2
    },
    {
      "type": "place_token",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 199,
      "created_at": 1646984631,
      "city": "6-6-0",
      "slot": 0,
      "tokener": "MS"
    },
    {
      "type": "run_routes",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 200,
      "created_at": 1646984634,
      "routes": [
        {
          "train": "5H-2",
          "connections": [
            [
              "M13",
              "N12",
              "M11"
            ]
          ],
          "hexes": [
            "M13",
            "M11"
          ],
          "revenue": 50,
          "revenue_str": "M13-M11",
          "nodes": [
            "M13-0",
            "M11-0"
          ]
        },
        {
          "train": "2+-0",
          "connections": [
            [
              "M13",
              "L12"
            ],
            [
              "L12",
              "K13",
              "J12",
              "J14"
            ]
          ],
          "hexes": [
            "M13",
            "L12",
            "J14"
          ],
          "revenue": 60,
          "revenue_str": "M13-L12-J14",
          "nodes": [
            "M13-0",
            "L12-0",
            "J14-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "MS",
      "entity_type": "corporation",
      "id": 201,
      "created_at": 1646984634,
      "kind": "payout"
    },
    {
      "type": "lay_tile",
      "entity": "So",
      "entity_type": "corporation",
      "id": 202,
      "created_at": 1646984639,
      "hex": "O17",
      "tile": "7-2",
      "rotation": 3
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 203,
      "created_at": 1646984643
    },
    {
      "type": "run_routes",
      "entity": "So",
      "entity_type": "corporation",
      "id": 204,
      "created_at": 1646984648,
      "routes": [
        {
          "train": "5H-0",
          "connections": [
            [
              "T12",
              "T10",
              "U11",
              "V12"
            ]
          ],
          "hexes": [
            "T12",
            "V12"
          ],
          "revenue": 60,
          "revenue_str": "T12-V12",
          "nodes": [
            "T12-0",
            "V12-0"
          ]
        },
        {
          "train": "6H-0",
          "connections": [
            [
              "V16",
              "U17",
              "U15",
              "T14"
            ],
            [
              "T14",
              "T12"
            ],
            [
              "T12",
              "U13"
            ],
            [
              "U13",
              "V12"
            ]
          ],
          "hexes": [
            "V16",
            "T14",
            "T12",
            "U13",
            "V12"
          ],
          "revenue": 130,
          "revenue_str": "V16-T14-T12-U13-V12",
          "nodes": [
            "V16-0",
            "T14-0",
            "T12-0",
            "U13-0",
            "V12-0"
          ]
        },
        {
          "train": "2+-1",
          "connections": [
            [
              "O15",
              "O17",
              "P16"
            ],
            [
              "P16",
              "Q17"
            ],
            [
              "Q17",
              "R16"
            ],
            [
              "R16",
              "S17"
            ]
          ],
          "hexes": [
            "O15",
            "P16",
            "Q17",
            "R16",
            "S17"
          ],
          "revenue": 80,
          "revenue_str": "O15-P16-Q17-R16-S17",
          "nodes": [
            "O15-0",
            "P16-1",
            "Q17-0",
            "R16-0",
            "S17-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "So",
      "entity_type": "corporation",
      "id": 205,
      "created_at": 1646984648,
      "kind": "payout"
    },
    {
      "type": "pass",
      "entity": "So",
      "entity_type": "corporation",
      "id": 206,
      "created_at": 1646984651
    },
    {
      "type": "pass",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 207,
      "created_at": 1646984656
    },
    {
      "type": "place_token",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 208,
      "created_at": 1646984659,
      "city": "PEI6-0-0",
      "slot": 1,
      "tokener": "BB"
    },
    {
      "type": "run_routes",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 209,
      "created_at": 1646984661,
      "routes": [
        {
          "train": "5H-1",
          "connections": [
            [
              "T12",
              "T10",
              "U11",
              "V12"
            ]
          ],
          "hexes": [
            "T12",
            "V12"
          ],
          "revenue": 60,
          "revenue_str": "T12-V12",
          "nodes": [
            "T12-0",
            "V12-0"
          ]
        },
        {
          "train": "6H-1",
          "connections": [
            [
              "V12",
              "U13"
            ],
            [
              "U13",
              "T12"
            ],
            [
              "T12",
              "T14"
            ],
            [
              "T14",
              "U15",
              "U17",
              "V16"
            ]
          ],
          "hexes": [
            "V12",
            "U13",
            "T12",
            "T14",
            "V16"
          ],
          "revenue": 130,
          "revenue_str": "V12-U13-T12-T14-V16",
          "nodes": [
            "V12-0",
            "U13-0",
            "T12-0",
            "T14-0",
            "V16-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 210,
      "created_at": 1646984662,
      "kind": "payout"
    },
    {
      "type": "pass",
      "entity": "BB",
      "entity_type": "corporation",
      "id": 211,
      "created_at": 1646984664
    },
    {
      "type": "lay_tile",
      "entity": "A",
      "entity_type": "corporation",
      "id": 212,
      "created_at": 1646984667,
      "hex": "D2",
      "tile": "PEI4-1",
      "rotation": 1
    },
    {
      "type": "run_routes",
      "entity": "A",
      "entity_type": "corporation",
      "id": 213,
      "created_at": 1646984670,
      "routes": [
        {
          "train": "2+-2",
          "connections": [
            [
              "E7",
              "D6"
            ],
            [
              "D6",
              "C5"
            ],
            [
              "C5",
              "C3",
              "D2"
            ],
            [
              "D2",
              "D4",
              "C5"
            ]
          ],
          "hexes": [
            "E7",
            "D6",
            "C5",
            "D2",
            "C5"
          ],
          "revenue": 90,
          "revenue_str": "E7-D6-C5-D2-C5",
          "nodes": [
            "E7-0",
            "D6-0",
            "C5-1",
            "D2-0",
            "C5-0"
          ]
        }
      ]
    },
    {
      "type": "dividend",
      "entity": "A",
      "entity_type": "corporation",
      "id": 214,
      "created_at": 1646984671,
      "kind": "payout"
    },
    {
      "type": "buy_train",
      "entity": "A",
      "entity_type": "corporation",
      "id": 215,
      "created_at": 1646984672,
      "train": "2+-3",
      "price": 220,
      "variant": "2+"
    },
    {
      "type": "lay_tile",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 216,
      "created_at": 1646984676,
      "hex": "F14",
      "tile": "PEI8-1",
      "rotation": 5
    },
    {
      "type": "pass",
      "entity": "PEIR",
      "entity_type": "corporation",
      "id": 217,
      "created_at": 1646984679
    },
    {
      "type": "pass",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 218,
      "created_at": 1646984688
    },
    {
      "type": "split",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 219,
      "created_at": 1646984690,
      "corporation": "MS"
    },
    {
      "type": "choose",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 220,
      "created_at": 1646984691,
      "choice": "SB"
    },
    {
      "type": "choose",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 221,
      "created_at": 1646984703,
      "choice": "74,4,1"
    },
    {
      "type": "choose",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 222,
      "created_at": 1646984707,
      "choice": "2+-0"
    },
    {
      "type": "choose",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 223,
      "created_at": 1646984708,
      "choice": "done"
    },
    {
      "type": "choose",
      "entity": "Player 3",
      "entity_type": "player",
      "id": 224,
      "created_at": 1646984709,
      "choice": 0
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 225,
      "created_at": 1646984716,
      "shares": [
        "MS_0"
      ],
      "percent": 20,
      "skip": true
    },
    {
      "type": "undo",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 226,
      "created_at": 1646984728,
      "skip": true
    },
    {
      "type": "buy_shares",
      "entity": "Player 1",
      "entity_type": "player",
      "id": 227,
      "created_at": 1646984733,
      "shares": [
        "MS_0"
      ],
      "percent": 20,
      "skip": true
    },
    {
      "type": "undo",
      "entity": "Player 2",
      "entity_type": "player",
      "id": 228,
      "created_at": 1646984737,
      "skip": true
    }
  ],
  "id": "hs_eqlycbzd_1646984125",
  "players": [
    {
      "name": "Player 1"
    },
    {
      "name": "Player 2"
    },
    {
      "name": "Player 3"
    }
  ],
  "title": "The Old Prince",
  "description": "",
  "max_players": "3",
  "settings": {
    "optional_rules": []
  },
  "mode": "hotseat",
  "user": {
    "id": 0,
    "name": "You"
  },
  "created_at": "2022-03-10",
  "loaded": true,
  "result": {},
  "turn": 5,
  "round": "Stock Round",
  "acting": [
    "Player 1"
  ],
  "updated_at": 1646984737
}

Can Buy Hunslet

Change the "Can Buy Companies" string to "Can Buy Hunslet"

Splitting issues

When placing 5 shares into the treasury exchange shares screw this up.

In our example there was 1 exchange share, and the company was owed 5 shares. After exchange the company ended up with 3 treasury and 2 exchange.

Payouts are wrong to company

We had a company with 3 treasury, 1 market and 2 exchanges and it got 5 shares paid out instead of 4.

Double check that markets/treasury pays and exchanges don't. Right now it looks like treasury and exchanges pay and market doesn't.

UB "Buy Market Share for UB" sometimes not an option for the owner.

Issue happened in the final stock round of a hotseat game. When the owner of the UB had enough personal cash to purchase a share, the "Buy Market Share for UB" option would appear. When the owner did not have enough money to purchase a share, the option was removed even though the UB had enough money to purchase a share.

Company presidency transfer

When a company is sold down and it results in a transfer of presidency, the president's cert goes to next in turn order if a tie. The UB is currently getting it when tied if in turn order. If there is a tie between UB and a player, UB should never be president. Only when it is the majority.

SR1 No Valid Actions

In SR1, the game is passing players without valid actions. Players technically can exchange for shares as an action in SR1, which could manipulate who controls Mainline and Shortline.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.