Roulette Simulator

Mar 30, 2009

I would like to have a list of student names, and a command button, that when pressed, begins highlighting the names one at a time ( starting at the top, moving down through the list, then starting at the top again, moving down through the list again, etc etc) each time the time that each name is highlighted gets longer and longer, effectively like a roulette wheel.

Eventually, one of the names would remain highlighted.

When the command button is pressed again, the 'roulette' highlighting process starts again, and eventually another name would be highlighted.

I already have a 'random student selector' program operating that returns a student name randomly and without ever returning a name twice, but it lacks the drama and suspense this 'roulette' method might provide.

View 9 Replies


ADVERTISEMENT

Poker Simulator

Jan 14, 2008

i am trying to write a simulator for poker. I am struggleing to find the most efficient way to deal out a deck of cards.

If I number each card 1 - 52 i can generate the first card using the randombetween function but lets say it generates the the four of clubs, which is card number "4" out of the cards 1 - 52.

Now the second card i want to generate is one of 51 not of 52. Also i do not want to gererate the four of clubs again.

how to make this as efficient as possible, i wish to use this to do a helluva alot of simulations so the more efficient the code the better.

View 9 Replies View Related

Roulette Data

Aug 24, 2008

I have a simple roulette simulator which generates 10,000 spins in excel using random generate between 0 and 36.

I have been trying to quantify some of the results, such as finding out throughout the 10,000 spins, how many times a black number or red number shows up 5 times in a row. And the same again for 6 times, 7 times and so on.

So basically i would like another part of the spreadsheet to read, for example:
No. of spins: 10,000
No. of times there were 5 of same colour in a row: 48
No. of times there were 6 of same colour in a row: 27
No. of times there were 7 of same colour in a row: 13
No. of times there were 8 of same colour in a row: 6
No. of times there were 9 of same colour in a row: 4
No. of times there were 10 of same colour in a row: 3

I was wondering if any of you may be able to help me figure out how to do this.
PS. i've attached the file, and just so you know reds and blacks are not assigned to even and odd numbers they are:
Red (1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36)
Black (2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35)

View 11 Replies View Related

Roulette Wheel Sequencing

Jun 1, 2014

I do not have any information about exel but there is an urgent need to program.The numbers on a roulette wheel automatically want to calculate the distance between. There are 37 numbers on the roulette wheel and Sequences matter of form

0 26 3 35 12 28 7 29 18 22 9 31 14 20 1 33 16 24 5 10 23 8 30 11 36 13 27 6 34 17 25 2 21 4 19 15 32 0

[code]....

View 14 Replies View Related

Roulette Data Sorting

Aug 10, 2009

I’m playing European Roulette, 37 numbers 0-36.

I making an analysis sheet that shows me which numbers and sectors of the wheel has hit most or not.

I just want to type the spun numbers and see them distributed and also see a Pie Chart of the wheel sectors.

How do I attach my excel sheet here? I don't see any attachment options. I cannot even seem to attach even an image!

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved