all repos — python-meme-bot @ 881781f58f4949319ef6afcbd6421c43e8a6ae24

Telegram Bot that uses PIL to compute light image processing.

python_meme_bot/constants.py (view raw)

 1slot_machine_value = {
 2    1: (3, "bar"),
 3    2: (2, "bar"),
 4    3: (2, "bar"),
 5    4: (2, "bar"),
 6    5: None,
 7    6: (2, "grape"),
 8    7: None,
 9    8: None,
10    9: None,
11    10: None,
12    11: (2, "lemon"),
13    12: None,
14    13: None,
15    14: None,
16    15: None,
17    16: (2, "seven"),
18    17: (2, "bar"),
19    18: None,
20    19: None,
21    20: None,
22    21: (2, "grape"),
23    22: (3, "grape"),
24    23: (2, "grape"),
25    24: (2, "grape"),
26    25: None,
27    26: None,
28    27: (2, "lemon"),
29    28: None,
30    29: None,
31    30: None,
32    31: None,
33    32: (2, "seven"),
34    33: (2, "bar"),
35    34: None,
36    35: None,
37    36: None,
38    37: None,
39    38: (2, "grape"),
40    39: None,
41    40: None,
42    41: (2, "lemon"),
43    42: (2, "lemon"),
44    43: (3, "lemon"),
45    44: (2, "lemon"),
46    45: None,
47    46: None,
48    47: None,
49    48: (2, "seven"),
50    49: (2, "bar"),
51    50: None,
52    51: None,
53    52: None,
54    53: None,
55    54: (2, "grape"),
56    55: None,
57    56: None,
58    57: None,
59    58: None,
60    59: (2, "lemon"),
61    60: None,
62    61: (2, "seven"),
63    62: (2, "seven"),
64    63: (2, "seven"),
65    64: (3, "seven"),
66}
67
68win_table = {
69    (3, "seven"): 20,
70    (3, "bar"): 5,
71    (3, "lemon"): 3,
72    (3, "grape"): 2,
73    
74    (2, "seven"): 2,
75    (2, "bar"): 1,
76    (2, "lemon"): 0.5,
77    (2, "grape"): 0.3
78}