summaryrefslogtreecommitdiff
path: root/batch/100-run-beginner-bad.sh
blob: ab62e2eeb2f7481964af78716e6ba912632e5c18 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
OPTIONS="-b -a -u"
let COUNT=100
let WINS=0
for ((i=0;i<COUNT;i++)); do
	python3 miinaharava $OPTIONS && let WINS++;
done
let PERCENT=100*WINS/COUNT
echo -ne "\n\n## Voittoja $WINS/$COUNT ($PERCENT%)\n\n"