I need a javascript bot wich plays dice game.
1- No bet, roll the dice until 4 loses in row
2- bet (20 coins)
3- won? remove the bet and go to step 1
4- lost?! duplicate the betted value until win then go to step 1 again
More info if you accept the job