-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_simulation.sh
executable file
·51 lines (40 loc) · 1.35 KB
/
run_simulation.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh
# Basic strat
for run in {1..5}; do
python -m pyblackjack 1000000 4 0.75 basic_strategy >> basic_strat_output_4_75.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 1 0.75 basic_strategy >> basic_strat_output_1_75.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 1 0.50 basic_strategy >> basic_strat_output_1_50.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 4 0.50 basic_strategy >> basic_strat_output_4_50.txt
done
# Alt strat
for run in {1..5}; do
python -m pyblackjack 1000000 4 0.75 basic_strategy_alt >> basic_strat_alt_output_4_75.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 1 0.75 basic_strategy_alt >> basic_strat_alt_output_1_75.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 1 0.50 basic_strategy_alt >> basic_strat_alt_output_1_50.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 4 0.50 basic_strategy_alt >> basic_strat_alt_output_4_50.txt
done
# Simple strat
for run in {1..5}; do
python -m pyblackjack 1000000 4 0.75 simple >> simple_output_4_75.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 1 0.75 simple >> simple_output_1_75.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 1 0.50 simple >> simple_output_1_50.txt
done
for run in {1..5}; do
python -m pyblackjack 1000000 4 0.50 simple >> simple_output_4_50.txt
done