-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_show_with_strategy.py
56 lines (50 loc) · 1021 Bytes
/
run_show_with_strategy.py
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
52
53
54
55
56
from AreYouTheOne import AreYouTheOne
guys = [
"Adam",
"Chris S",
"Chris T",
"Dillan",
"Dre",
"Ethan",
"Joey",
"John",
"Ryan",
"Wes"
]
girls = [
"Amber",
"Ashleigh",
"Brittany",
"Colyesia",
"Jacy",
"Jessica",
"Kayla",
"Paige",
"Shanley",
"Simone"
]
solution = [
("Adam", "Shanley"),
("Chris S", "Jacy"),
("Chris T", "Paige"),
("Dillan", "Colyesia"),
("Dre", "Simone"),
("Ethan", "Amber"),
("Joey", "Brittany"),
("John", "Ashleigh"),
("Ryan", "Jessica"),
("Wes", "Kayla")
]
show = AreYouTheOne(guys, girls, solution)
n = 1
while not show.is_show_over():
print("Week", n)
print()
guy, girl = show.get_most_likely_couple()
show.truth_booth(guy, girl, show.run_truth_both(guy, girl))
guys, girls = show.get_most_likely_solution()
show.lights(guys, girls, show.run_lights(guys, girls))
show.pretty_print_odds()
show.print_most_likely_solution()
n += 1
print()