I've been struggling to figure out how I can make a simulated race game using 6 players (no graphics). I've been able to program the rolls and display, but can't figure out how to create a betting system starting at $1000. Need odds for each racer. Also I want finish line at 166 points.
So far I have the players (players _ value and the random it's, and rolls, but can't figure out how to get a winner or stop the code we when 166 points is reached
Don't know where to go from here to get a winner or win my bets(by typing the number of the player)