| kr651129 (1) | |
|
It's been a long time since I've wrote anything in C++ and I had a little free time today, decided to write a roulette type game. No outside bets or corner bets. Just straight on numbers. Everything works fine for the first user. The problem is with the second user. If they bet 5 numbers at $1 per spot and none hit they should be less $5. The problem is sometimes they are less $5, sometimes less $4. I can't figure it out. http://pastebin.com/5UenYM2u Above is my code, can someone point me in the right direction? Thanks. | |
|
|
|