diff options
Diffstat (limited to 'batch/1000-run-beginner-bad.sh')
-rw-r--r-- | batch/1000-run-beginner-bad.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/batch/1000-run-beginner-bad.sh b/batch/1000-run-beginner-bad.sh new file mode 100644 index 0000000..394aeb3 --- /dev/null +++ b/batch/1000-run-beginner-bad.sh @@ -0,0 +1,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" |