Here is some sample code to create a $65 roulette wheel in C#:
main.cs1003 chars39 lines
This code sets up an array to hold the numbers on the wheel, and an array to hold the odds for each number. It then creates a Random
object to simulate spinning the wheel, and selects a random number from the array. Finally, it calculates the payout using the odds for the selected number and multiplies it by $65 for the cost of the game.
gistlibby LogSnag