April 29, 2024, 03:00:30 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Roulette Program in EBasic

Started by billhsln, November 22, 2011, 09:56:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

November 22, 2011, 09:56:10 PM Last Edit: November 22, 2011, 10:03:08 PM by billhsln
I was inspired by GWS to write a Roulette program.  I think it works as American Roulette is played.  Click on the number, or any 1 of the eight points around the number.   I allow for Streets (3 numbers in a row), Double Streets (6 numbers), First Five (0,00,1,2,3).  To do one of the 1 to XX and those like it, click on the o in TO.  I don't do any checking to make sure that you are doing any illegal bets, mostly because I don't know the rules that well.  If you plan on doing it right, then you should probably not do things that they do not allow in the casinos.  Click on one of the colored circles to choose the bet value.   Click multiple times on the same spot to do more than just 1 bet.  Click on 'Roll Ball' to watch an animation of the ball rolling or click on 'Quick Roll' to just show the winning number.  To change your bets, click on 'Reset Board'.  I show how much you won on each bet and do a running total (at least till you reset the board).

Enjoy,
Bill
When all else fails, get a bigger hammer.

GWS

November 25, 2011, 05:41:22 AM #1 Last Edit: November 25, 2011, 05:59:11 AM by GWS
Hi,

A nice piece of work Bill ..  ;D

I shall have to play with it a bit to see how it responds.

It's very definitely an American roulette wheel, with both a '0' and a '00' ..  ::)

I'm not happy in the UK with the threat of a single green coming up - so I'd hate having to play against two greens.  That's a real customer rip off. :o

I wasn't quite wiped out using my program in an on-line casino, and I've managed to build up £350 in my kitty again.  It's certainly a risky game ..

all the best, :)

Graham

Tomorrow may be too late ..