summaryrefslogtreecommitdiff
path: root/batch/1000-run-beginner-bad.sh
blob: 394aeb3d4bb78c07976816bf73d1f1e12aab5a71 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
OPTIONS="-b -a -u"
let COUNT=1000
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"