Roulette Wheel Database
For: XP
I need a database for my roulette wheel minigame. Not a big one, but I'll provide it, obviously. It also needs one or two methods two it. I'll explain that after the database I need.
Methods:
Set:
This method will take a number, which will compare that number to the index, and return number.
Colour:
Will take a number, number, and compare that to Red, and will return True or False. Don't worry about returning Null, this script will not be called if that is the case.
If anyone can do this for me, I will be most grateful. Thankyou very much!
For: XP
I need a database for my roulette wheel minigame. Not a big one, but I'll provide it, obviously. It also needs one or two methods two it. I'll explain that after the database I need.
Index: Integer
Number: Integer
Red: Boolean
Number: Integer
Red: Boolean
Code:
Index|Number|Red
0, 00, null
1, 01, true
2, 13, false
3, 36, true
4, 24, false
5, 3, true
6, 15, false
7, 34, true
8, 22, false
9, 5, true
10, 17, false
11, 32, true
12, 20, false
13, 7, true
14, 11, false
15, 30, true
16, 26, false
17, 9, true
18, 28, true
19, 0, null
20, 2, true
21, 14, false
22, 35, true
23, 23, false
24, 4, true
25, 16, false
26, 33, true
27, 21, false
28, 6, true
29, 18, false
30, 31, true
31, 19, false
32, 8, true
33, 12, false
34, 29, true
35, 25, false
36, 10, true
37, 27, false
Methods:
Set:
This method will take a number, which will compare that number to the index, and return number.
Colour:
Will take a number, number, and compare that to Red, and will return True or False. Don't worry about returning Null, this script will not be called if that is the case.
If anyone can do this for me, I will be most grateful. Thankyou very much!