-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrps-candidate.py
56 lines (55 loc) · 1.02 KB
/
rps-candidate.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
# rps data for the rock-paper-scissors portion of the red-green game
# to be imported by rg.cgi
# this file represents the "host throw" for each numbered round
rps_data = {
0: "rock",
1: "rock",
2: "scissors",
3: "paper",
4: "paper",
5: "scissors",
6: "rock",
7: "scissors",
8: "paper",
9: "paper",
10: "scissors",
11: "rock",
12: "paper",
13: "paper",
14: "rock",
15: "scissors",
16: "scissors",
17: "scissors",
18: "rock",
19: "scissors",
20: "paper",
21: "rock",
22: "paper",
23: "scissors",
24: "rock",
25: "scissors",
26: "rock",
27: "rock",
28: "paper",
29: "paper",
30: "rock",
31: "paper",
32: "paper",
33: "scissors",
34: "rock",
35: "rock",
36: "scissors",
37: "rock",
38: "rock",
39: "paper",
40: "rock",
41: "rock",
42: "paper",
43: "paper",
44: "paper",
45: "paper",
46: "scissors",
47: "rock",
48: "scissors",
49: "scissors",
}