Professional Documents
Culture Documents
Instructions
No, we will not be dealing with social media content here. Instead, we will revise the old mechanical slot machines.
You are creating an online game, similar to slot machines. However, you don't want to use it for gambling, so the game
the players will be awarded points. The game will use a total of 5 reel strips with 19 sectors each. There are a total of 8
at each sector. For Level 1 and Level 2 you will need to use only the first reel, the left-most.
The game starts with all the 5 reels standing on the starting sector as shown to the right (the sector with the cherry). For
the number of sectors that each reel rolls. Remember, that reel strips when placed onto the reels make closed cirles, so i
you will get exactly to the starting point. Your goal in the game is to calculate the number of points scored by the playe
Scoring
🌟 20
🍒 10
Questions
Let's test the very basic concepts of the game - just 1 roll and 1 reel strip (use the 1st one from the list of reel stri
In every game the roll starts from the 1st sector of the reel strip (the one with the cherry). You are given the num
How many points will a player score?
Game # Level Points Answer 1
Example1 1 0 30 35
1 1 6 93
2 1 6 12
3 1 6 76
4 1 6 79
5 1 6 44
6 1 6 89
7 1 6 53
8 1 6 52
9 1 6 92
10 1 6 87
Level 2 Easy
One reel strip, 3 turns. Every game starts from the 1st sector, but the next 2 moves start from the last sector of th
Example2: The reel strip starts the 1st turn in sector 1 and ends in sector 18 (50 points scored).
Then the 2nd turn starts in sector 18 and, after making 3 full circles, ends in sector 12 (another 3
Then the 3rd turn starts in sector 12 and ends in the same sector after making exactly 1 full circl
How many points has a player scored in total over the 3 turns?
Game # Level Points Answer 1 2 3
Example2 2 0 110 17 51 19
11 2 8 32 94 38
12 2 8 77 57 69
13 2 8 38 15 47
14 2 8 2 11 5
15 2 8 80 87 83
16 2 8 14 3 66
17 2 8 77 81 35
18 2 8 89 61 42
19 2 8 38 95 16
20 2 8 61 17 26
21 2 8 79 78 82
22 2 8 58 46 25
23 2 8 13 65 93
24 2 8 62 83 91
25 2 8 96 28 14
26 2 8 49 38 36
27 2 8 97 6 6
28 2 8 33 70 97
29 2 8 16 4 53
30 2 8 42 15 7
Level 3 Medium
Example3 3 0 125,160 🍀 💎 💲 💲
31 3 10 🔔 ⑦ 🔔 💲
32 3 10 💎 ⑦ 🌟 🌟
33 3 10 🔔 🍒 ⑦ 🍀
34 3 10 🍒 🌟 🍒 🍀
35 3 10 🍒 🌟 🍀 ⑦
36 3 10 💎 ⑦ 💎 💎
37 3 10 🔔 💎 🌟 🍒
38 3 10 💲 🌟 🍒 🍒
39 3 10 🍹 🍒 🌟 🔔
40 3 10 🔔 🍹 ⑦ 💎
41 3 10 ⑦ 🌟 🌟 🌟
42 3 10 ⑦ 🍹 🍀 🔔
43 3 10 💎 🍀 🔔 ⑦
44 3 10 🍀 🍀 🔔 🍀
45 3 10 🍒 🍀 🌟 🍀
46 3 10 ⑦ 🍹 💲 💎
47 3 10 🍹 💎 🔔 🍀
48 3 10 🍒 🔔 🍹 🔔
49 3 10 💲 🔔 💲 💎
50 3 10 🔔 💲 💲 🍒
Level 4 Medium
Let's now test the game with all the 5 reels and reel spins introduced!
Let's first test it just with 1 turn. In every game all the 5 reels start on the 1st sector (the one with the cherries)
Then you are provided with the number of sectors rolled for each reel.
How many points has the player scored over this turn? Reel#
Game # Level Points Answer 1 2 3 4
Example4 4 0 1,010 6 98 45 20
51 4 11 84 50 36 32
52 4 11 42 66 93 4
53 4 11 62 9 59 97
54 4 11 10 91 44 35
55 4 11 38 28 23 9
56 4 11 77 54 38 72
57 4 11 87 75 92 27
58 4 11 85 54 80 2
59 4 11 97 94 39 68
60 4 11 59 78 5 83
61 4 11 13 82 55 14
62 4 11 82 99 32 4
63 4 11 71 68 76 46
64 4 11 64 62 25 63
65 4 11 94 55 41 90
66 4 11 45 5 57 94
67 4 11 70 83 11 8
68 4 11 26 5 49 14
69 4 11 73 65 47 37
70 4 11 76 14 1 12
Level 5 Hard
Example5 5 0 23,730 68 99 13 21
71 5 12 64 78 81 35
72 5 12 69 30 51 28
73 5 12 51 72 75 49
74 5 12 4 38 90 12
75 5 12 41 62 58 3
76 5 12 4 74 3 32
77 5 12 23 94 10 9
78 5 12 57 10 35 36
79 5 12 41 44 71 48
80 5 12 64 36 52 16
81 5 12 27 80 62 52
82 5 12 4 35 40 40
83 5 12 32 90 68 12
84 5 12 17 62 9 77
85 5 12 4 15 57 74
86 5 12 52 57 76 58
87 5 12 39 81 14 85
88 5 12 75 99 40 53
89 5 12 14 19 48 68
90 5 12 31 74 60 62
91 5 12 3 10 1 92
92 5 12 16 17 37 9
93 5 12 97 74 78 86
94 5 12 53 38 55 84
95 5 12 42 30 90 44
96 5 12 46 70 99 76
97 5 12 71 69 38 40
98 5 12 6 85 41 51
99 5 12 61 10 27 71
100 5 12 54 20 26 92
Story About the Reels
Reel Strips
echanical slot machines.
sector with the cherry). For each turn you will be given 🍒 🌟 💎 💎
eels make closed cirles, so if you need to roll 19 sectors,
f points scored by the player in each game. 💲 🔔 🍒 🍒
🍹 💲 🍀 ⑦
💎 🌟 🍀 🌟
🍹 ⑦ 🔔 🌟
🌟 🍹 💲 💲
⑦ 🔔 🍀 🔔
🌟 💎 ⑦ 💲
Rules 🍀 🍀 🍹 🔔
nd don't have too many things in common with real slots.
10 to 100).
🔔 🍒 🍀 🍒
of the 5 reels (i.e. no duplicates), then the total score for
🌟 🌟 🍒 🌟
🍒
💎
🍒
💎
💎
💲
🍀
🔔
🍹
💎
💎
⑦
💲
🍒
🌟
🍹
⑦
⑦
💎
💎
99
35
44
82
80
75
48
14
27
98
68
35
36
99
30
90
16
7 86 83 47 8 32 81 51 43 91 53 92 16 83 79 10
54 14 28 71 52 48 25 5 9 84 48 80 53 77 23 28
13 95 42 41 49 82 25 21 60 58 46 26 28 65 36 57
50 36 35 11 91 71 38 99 2 83 78 93 73 23 19 95
58 41 3 29 19 55 41 24 69 23 58 55 49 87 24 84
56 35 50 4 50 93 75 21 54 43 29 33 54 43 28 58
77 50 52 70 19 40 93 54 75 39 61 73 17 32 63 52
44 7 69 35 26 86 95 72 92 10 80 98 60 25 95 24
29 3 23 17 58 72 4 8 33 26 48 74 3 90 8 46
4 53 55 5 30 82 93 37 90 54 97 22 95 76 14 54
8 1 45 31 97 12 18 68 83 92 63 14 5 46 69 44
65 74 66 39 83 5 56 78 49 42 17 16 96 73 16 12
87 40 5 11 13 70 15 5 82 38 28 63 81 1 75 45
22 94 24 79 46 2 34 95 41 77 35 47 80 85 94 64
43 28 29 11 46 38 36 9 11 23 30 92 36 49 16 32
63 22 55 64 96 36 45 52 98 45 89 84 16 7 49 6
7 30 27 61 21 50 22 88 15 77 28 12 26 14 10 50
16 86 62 69 2 18 51 31 59 56 1 47 49 75 78 39
88 81 17 25 91 23 63 67 41 27 1 19 42 39 14 59
39 35 64 79 2 63 52 63 81 94 33 87 14 8 20 54
42 27 54 60 7 81 51 82 62 69 91 83 99 11 1 27
86 88 80 29 50 61 85 99 98 99 34 47 55 13 58 49
27 4 91 80 54 53 49 11 47 46 63 34 48 26 51 61
61 82 7 79 37 23 97 65 33 68 93 67 88 38 56 74
10 6 73 78 93 80 98 47 15 67 74 69 13 65 73 79
60 69 21 74 24 70 75 76 31 62 44 38 70 80 16 12
6 96 24 90 57 92 44 32 18 1 89 58 96 72 23 76
99 1 39 65 11 96 97 29 77 51 58 85 59 32 24 95
15 35 40 24 86 26 58 40 2 27 75 91 95 43 30 25
65 43 40 65 62 12 6 8 94 39 63 17 50 91 17 71
96 71 12 49 48 72 54 49 36 47 83 34 7 66 80 91
Case Author
Andrew Grigolyunovich
💎
💲
⑦
🌟
🔔
⑦
🍀
🍒
🌟
🌟
🍀
🍒
🍹
🍹
🍒
🍹
🍒
🍒
Turn 5 Turn 6 Turn 7 Turn 8
1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1
95 73 6 57 40 54 6 51 86 13 96 66 56 23 60 74
78 1 28 86 66 38 54 56 33 17 67 10 11 1 78 71
54 25 81 66 25 5 6 53 77 36 60 62 95 34 71 86
99 93 97 70 80 3 65 39 85 16 83 20 5 27 88 88
51 22 54 37 61 47 39 55 4 59 24 83 61 93 68 82
65 98 14 68 54 61 89 34 50 42 12 95 54 47 60 21
97 78 30 38 68 75 65 97 60 17 85 94 9 2 17 37
21 96 64 82 6 57 59 89 16 87 23 64 96 82 85 2
64 45 61 72 35 59 1 38 61 65 31 96 65 93 59 65
98 67 98 41 96 82 81 95 49 37 13 74 78 27 47 94
79 93 24 29 76 65 31 27 86 42 5 45 55 41 34 92
60 40 2 77 75 73 88 98 45 35 12 14 61 70 96 93
38 33 8 97 78 3 20 35 57 9 4 26 45 92 52 35
94 50 26 61 7 70 4 49 51 6 59 72 75 16 18 5
28 76 74 78 36 77 22 55 28 39 81 69 39 38 38 26
51 1 38 70 34 25 93 28 47 70 47 58 43 15 47 69
46 66 64 75 87 61 59 31 81 99 27 97 11 97 62 9
81 7 99 17 87 21 75 47 52 28 5 60 36 74 96 29
23 27 13 58 90 93 66 2 36 11 22 11 76 2 29 6
75 39 1 65 13 65 90 72 95 20 53 27 47 27 97 93
30 78 84 19 40 55 31 94 64 44 74 72 66 41 88 7
51 1 11 79 98 85 22 87 14 14 15 5 81 50 78 55
3 50 21 44 97 40 11 97 58 94 35 35 56 68 85 80
44 91 58 34 79 93 35 33 62 14 52 37 1 20 41 24
59 22 93 39 83 15 19 20 17 59 92 83 79 52 98 2
8 28 84 45 3 10 19 21 25 50 69 17 93 74 77 81
39 75 60 30 87 90 10 84 36 59 40 14 23 72 54 81
32 63 62 6 36 76 5 32 55 88 69 50 39 84 90 37
85 2 93 97 64 54 33 89 87 39 70 26 7 2 18 94
64 30 5 72 21 79 71 87 46 86 8 26 98 21 40 64
4 81 83 36 62 23 86 84 33 61 58 50 51 60 58 15
Turn 8 Turn 9 Turn 10
2 3 4 5 1 2 3 4 5 1 2 3 4 5
33 85 64 3 7 50 30 37 64 10 98 40 64 55
20 42 16 65 31 90 7 14 70 3 64 27 78 17
74 45 34 84 71 82 64 99 11 28 67 73 49 28
88 45 13 7 45 55 38 76 32 32 16 4 24 88
43 1 88 45 98 73 72 4 86 90 67 18 47 94
10 10 36 30 46 75 64 77 86 97 60 45 31 94
34 17 87 95 11 83 80 81 44 8 59 96 27 71
68 8 43 26 55 40 17 66 66 29 63 96 22 61
77 46 96 31 24 67 77 67 11 17 92 99 83 27
99 56 47 72 31 72 98 72 80 60 71 55 65 14
55 13 12 95 63 59 17 45 37 65 74 64 53 34
50 84 54 9 34 8 34 74 21 46 32 14 66 34
9 78 58 43 68 99 69 32 28 52 60 99 56 27
54 87 41 85 68 73 50 59 89 11 34 26 79 86
19 40 59 26 25 69 54 39 14 24 43 94 36 27
31 8 36 71 89 96 94 67 98 78 85 94 47 34
95 62 84 31 53 69 78 65 64 45 30 13 10 24
25 55 95 65 69 1 36 98 96 47 90 42 6 38
57 32 5 21 4 59 58 31 42 22 44 41 31 23
15 21 26 10 25 84 64 25 76 95 10 75 29 89
77 61 53 87 14 79 85 74 80 84 48 84 38 32
65 49 25 28 76 61 58 72 48 18 36 30 5 37
98 18 39 10 59 27 49 20 95 23 54 38 11 41
9 94 69 6 57 34 75 32 2 47 43 50 34 45
37 2 95 7 80 12 66 24 10 14 86 12 50 75
47 75 40 62 34 26 70 48 78 67 55 16 60 94
13 84 62 6 82 78 3 72 26 37 51 52 52 55
4 79 81 24 3 64 33 27 33 88 69 22 26 64
59 99 9 22 77 37 70 70 50 69 24 29 86 32
77 30 65 51 34 38 5 49 99 21 20 18 6 37
75 38 89 25 16 97 31 59 10 85 94 25 47 86