The bot is working just fine, but some of the transactions were taking a little while to be included in a block. Remember the bet is placed when your transaction is included in a block, not when you broadcast it.
Hello everyone,
I have been working on a project as a fun way to learn about programming. I have moved it over to the BTS blockchain in the hopes of getting more attention. It is based upon American roulette so the house edge should be about 5.3%. maximum bet is currently 100 BTS. There is no minimum bet. You play by sending a transaction to the BTS account roulette-game and typing your bet in the memo. If you send over the 100BTS max then it will be sent back to you after deducting 1BTS as a fee. If you send an invalid bet your bet will be sent back to you after deducting a 1 BTS fee. If you send any asset other than BTS it will not be automatically returned and you will have to contact me if you want it back. If my bot eats your BTS, I will refund you fully.
The betting rounds are broken up into ten block rounds. On every block that ends in a zero the revealed secret of the delegate is used to generated a number between 1 and 7. After that number of blocks the new revealed secret is used to generated a number between 0 and 37. This is the spin. each number corresponds to the number on a roulette wheel except for 37 which corresponds with 00. Your bet is then matched to the spin result and if you win you are paid according to the odds associated with your bet. If you do not win you are sent a transaction explaining this. You can bet as many times as you want per round, but you are limited to one bet per transaction.
Currently available bets are:
0, 00, or 1-36 pays out 35 to 1
first column = (1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 31, 34) pays out 2 to 1
second column = (2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35) pays out 2 to 1
third column = (3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36) pays out 2 to 1
first dozen = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) pays out 2 to 1
second dozen = (13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24) pays out 2 to 1
third dozen = (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36) pays out 2 to 1
odd = (1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35) pays out 1 to 1
even = (2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36) pays out 1 to 1
red = (1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36) pays out 1 to 1
black = (2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35) pays out 1 to 1
first half = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18) pays out 1 to 1
second half = (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36) pays out 1 to 1
row = (0, 00) pays out 17 to 1
street 1 = (1, 2, 3) pays out 11 to 1
street 2 = (4, 5, 6) pays out 11 to 1
street 3 = (7, 8, 9) pays out 11 to 1
street 4 = (10, 11, 12) pays out 11 to 1
street 5 = (13, 14, 15) pays out 11 to 1
street 6 = (16, 17, 18) pays out 11 to 1
street 7 = (19, 20, 21) pays out 11 to 1
street 8 = (22, 23, 24) pays out 11 to 1
street 9 = (25, 26, 27) pays out 11 to 1
street 10 = (28, 29, 30) pays out 11 to 1
street 11 = (31, 32, 33) pays out 11 to 1
street 12 = (34, 35, 36) pays out 11 to 1
top line = (0, 37, 1, 2, 3) pays out 6 to 1
six line 1 = (1, 2, 3, 4, 5, 6) pays out 5 to 1
six line 2 = (4, 5, 6, 7, 8, 9) pays out 5 to 1
six line 3 = (7, 8, 9, 10, 11, 12) pays out 5 to 1
six line 4 = (10, 11, 12, 13, 14, 15) pays out 5 to 1
six line 5 = (13, 14, 15, 16, 17, 18) pays out 5 to 1
six line 6 = (16, 17, 18, 19, 20, 21) pays out 5 to 1
six line 7 = (19, 20, 21, 22, 23, 24) pays out 5 to 1
six line 8 = (22, 23, 24, 25, 26, 27) pays out 5 to 1
six line 9 = (25, 26, 27, 28, 29, 30) pays out 5 to 1
six line 10 = (28, 29, 30, 31, 32, 33) pays out 5 to 1
six line 11 = (31, 32, 33, 34, 35, 36) pays out 5 to 1
Any input would be greatly appreciated