I'm new to C++, so I have like very little knowledge...Please no complex codes.
Here's my question:
So I have created a working code for an alternate version of craps with three dice. I want a simple code to create like a "bank account" for the user to have after he pays his buy-in.
Base of the bank account, prizes and buy-ins:
$150 to start
-$7 "buy-in"
+$15 Win on first roll
+$10 Win on first roll after MyPoint
+/-$0 Loss
Here's the code, any help will be appreciated!!! :)
So I have created a working code for an alternate version of craps with three dice. I want a simple code to create like a "bank account" for the user to have after he pays his buy-in
not really a question... But I'm guessing you want to make a bank? btw your code has syntax errors.
If it were me, I'd create a float (or in your case maybe an integer) named bank, and then just simply add/subtract conditionally.