if there is a spinwheel that has 20 or so numbers.
can spin the wheel until stops and that is the number to use.
am new here
how to make a program that picks a number like spinning a wheel.
could make the wheel pick numerous random numbers each revolution
or one number per revolution
say until 9 or so are chosen
be good if program could work however many numbers are to be chosen from
> how to make a program that picks a number like spinning a wheel.
the same way that you would do a dice roll, a lottery, a deck suffle
pick up a random number generator, seed it and adjust its output to your desired range.
actually simulating a spinwheel may be difficult to do.
the spinwheel slows down because of a piece of plastic typically or
other object and eventually lands at a number.