boardgamers / gaia-engine

Javascript engine for project gaia
MIT License
13 stars 6 forks source link

Wrong behavior when player is alone to play #51

Closed coyotte508 closed 6 years ago

coyotte508 commented 6 years ago

When one player has passed and the other has the opportunity to make several moves, the command list gets messed up (see last line):

init 2 randomSeed
p1 faction terrans
p2 faction gleens
p1 build m -1x2
p2 build m -2x2
p2 build m -5x5
p1 build m -3x4
p2 booster booster7
p1 booster booster3
p1 up gaia.
p2 up sci.
p1 build ts -3x4.
p2 leech 1
p2 build ts -2x2.
p1 leech 2
p1 build lab -3x4. tech free1. up gaia.
p2 leech 2
p2 build PI -2x2.
p1 leech 2
p1 spend 1q for 1o. spend 1q for 1o. burn 4. action power3.
p2 build ts -5x5.
p1 leech 2
p1 build ac1 -3x4. tech free2. up gaia.
p2 leech 3
p2 pass booster8
p1 build gf -2x3.. special 4pw. spend 4pw for 1k.. pass booster7

There are several places with two dots. Note that if I try to put them in separate lines, I get an error.

Expected behavior: one line per major command, as others can still leech.