#!/bin/bash # Planner hits per challenging stage, dual fighter, from movies/tas-remix-dual.json. declare -A START=([3]=9341 [7]=16350 [11]=23262 [15]=30750 [19]=37950 [23]=45374 [27]=52734 [31]=60190 [35]=67838) for s in 3 7 11 15 19 23 27 31 35; do ./target/release/galaga-gallery movies/tas-remix-dual.json $((${START[$s]}+10)) target/gallery/final-$s.json --beam ${1:-32} --tries ${2:-8} > target/gallery/final-$s.log 2>&1 echo "stage $s: $(grep -oE 'start:.*' target/gallery/final-$s.log | head -1) | $(grep -oE "the game counts.*" target/gallery/final-$s.log)" done