Skip to content

Instantly share code, notes, and snippets.

@illegal
Created May 10, 2020 16:01
Show Gist options
  • Save illegal/afd89aef9356b7799c892bd99bbe86df to your computer and use it in GitHub Desktop.
Save illegal/afd89aef9356b7799c892bd99bbe86df to your computer and use it in GitHub Desktop.
$ cargo run -- -o AIAI --ai-duration 1 --second-ai-duration 1 --shuffle
Finished dev [unoptimized + debuginfo] target(s) in 0.10s
Running `target/debug/rokumon -o AIAI --ai-duration 1 --second-ai-duration 1 --shuffle`
Options: depth=5, mode=Play, opponents=AIAI, cards="gggjjjj", layout=Bricks7, with_fight=false, with_surprise=false
Played move: place R2 at <2, 0, -2>
Resulting position:
Jade[] Gold[] Gold[]
Jade[] Gold[] Jade[R2] Jade[]
Player 1: [R2, R2, R2]
Player 2: [B1, B1, B1, B1, B1]
to move: Player 2
Running AI with duration 1s...
AI log: steps: 5105, depth: 6, completed: false, duration: 1.0001556s
Played move: place B1 at <2, -1, -1>
Resulting position:
Jade[] Gold[B1] Gold[]
Jade[] Gold[] Jade[R2] Jade[]
Player 1: [R2, R2, R2]
Player 2: [B1, B1, B1, B1]
to move: Player 1
Running AI with duration 1s...
AI log: steps: 5154, depth: 6, completed: false, duration: 1.000234s
Played move: move R2 from <2, 0, -2> to <2, -1, -1>
Resulting position:
Jade[] Gold[B1 < R2] Gold[]
Jade[] Gold[] Jade[] Jade[]
Player 1: [R2, R2, R2]
Player 2: [B1, B1, B1, B1]
to move: Player 2
Running AI with duration 1s...
AI log: steps: 5089, depth: 6, completed: false, duration: 1.0000774s
Played move: place B1 at <1, -1, 0>
Resulting position:
Jade[B1] Gold[B1 < R2] Gold[]
Jade[] Gold[] Jade[] Jade[]
Player 1: [R2, R2, R2]
Player 2: [B1, B1, B1]
to move: Player 1
Running AI with duration 1s...
AI log: steps: 5058, depth: 7, completed: false, duration: 1.0000777s
Played move: place R2 at <2, 0, -2>
Resulting position:
Jade[B1] Gold[B1 < R2] Gold[]
Jade[] Gold[] Jade[R2] Jade[]
Player 1: [R2, R2]
Player 2: [B1, B1, B1]
to move: Player 2
Running AI with duration 1s...
AI log: steps: 5590, depth: 8, completed: false, duration: 1.0002927s
Played move: place B1 at <3, -1, -2>
Resulting position:
Jade[B1] Gold[B1 < R2] Gold[B1]
Jade[] Gold[] Jade[R2] Jade[]
Player 1: [R2, R2]
Player 2: [B1, B1]
to move: Player 1
Running AI with duration 1s...
AI log: steps: 5951, depth: 7, completed: false, duration: 1.000321s
Played move: place R2 at <1, 0, -1>
Resulting position:
Jade[B1] Gold[B1 < R2] Gold[B1]
Jade[] Gold[R2] Jade[R2] Jade[]
Player 1: [R2]
Player 2: [B1, B1]
to move: Player 2
Running AI with duration 1s...
AI log: steps: 7196, depth: 11, completed: false, duration: 1.0001037s
Played move: move B1 from <3, -1, -2> to <2, 0, -2>
Resulting position:
Jade[B1] Gold[B1 < R2] Gold[]
Jade[] Gold[R2] Jade[R2 < B1] Jade[]
Player 1: [R2]
Player 2: [B1, B1]
to move: Player 1
Running AI with duration 1s...
AI log: steps: 5415, depth: 14, completed: true, duration: 706.2273ms
Played move: move R2 from <1, 0, -1> to <1, -1, 0>
Resulting position:
Jade[B1 < R2] Gold[B1 < R2] Gold[]
Jade[] Gold[] Jade[R2 < B1] Jade[]
Player 1: [R2]
Player 2: [B1, B1]
to move: Player 2
Running AI with duration 1s...
AI log: steps: 4137, depth: 13, completed: true, duration: 530.69ms
Played move: place B1 at <3, -1, -2>
Resulting position:
Jade[B1 < R2] Gold[B1 < R2] Gold[B1]
Jade[] Gold[] Jade[R2 < B1] Jade[]
Player 1: [R2]
Player 2: [B1]
to move: Player 1
Running AI with duration 1s...
AI log: steps: 2958, depth: 12, completed: true, duration: 369.7802ms
Played move: place R2 at <1, 0, -1>
Resulting position:
Jade[B1 < R2] Gold[B1 < R2] Gold[B1]
Jade[] Gold[R2] Jade[R2 < B1] Jade[]
Player 1: []
Player 2: [B1]
to move: Player 2
Running AI with duration 1s...
AI log: steps: 1675, depth: 11, completed: true, duration: 198.4661ms
Played move: move B1 from <3, -1, -2> to <0, 0, 0>
Resulting position:
Jade[B1 < R2] Gold[B1 < R2] Gold[]
Jade[B1] Gold[R2] Jade[R2 < B1] Jade[]
Player 1: []
Player 2: [B1]
to move: Player 1
Running AI with duration 1s...
AI log: steps: 1246, depth: 10, completed: true, duration: 143.7541ms
Played move: move R2 from <1, 0, -1> to <0, 0, 0>
Resulting position:
Jade[B1 < R2] Gold[B1 < R2] Gold[]
Jade[B1 < R2] Gold[] Jade[R2 < B1] Jade[]
Player 1: []
Player 2: [B1]
to move: Player 2
Running AI with duration 1s...
AI log: steps: 299, depth: 9, completed: true, duration: 31.6345ms
Played move: place B1 at <1, 0, -1>
Resulting position:
Jade[B1 < R2] Gold[B1 < R2] Gold[]
Jade[B1 < R2] Gold[B1] Jade[R2 < B1] Jade[]
Player 1: []
Player 2: []
to move: Player 1
Running AI with duration 1s...
AI log: steps: 211, depth: 8, completed: true, duration: 22.1475ms
Played move: move R2 from <1, -1, 0> to <1, 0, -1>
Resulting position:
Jade[B1] Gold[B1 < R2] Gold[]
Jade[B1 < R2] Gold[B1 < R2] Jade[R2 < B1] Jade[]
Player 1: []
Player 2: []
to move: Player 2
Running AI with duration 1s...
AI log: steps: 167, depth: 7, completed: true, duration: 19.3538ms
Played move: move B1 from <1, -1, 0> to <3, -1, -2>
Resulting position:
Jade[] Gold[B1 < R2] Gold[B1]
Jade[B1 < R2] Gold[B1 < R2] Jade[R2 < B1] Jade[]
Player 1: []
Player 2: []
to move: Player 1
Running AI with duration 1s...
AI log: steps: 127, depth: 6, completed: true, duration: 13.6053ms
Played move: move R2 from <0, 0, 0> to <3, -1, -2>
Resulting position:
Jade[] Gold[B1 < R2] Gold[B1 < R2]
Jade[B1] Gold[B1 < R2] Jade[R2 < B1] Jade[]
Player 1: []
Player 2: []
to move: Player 2
Running AI with duration 1s...
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/ai.rs:163:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment