I am trying to create a little horse betting game but cant seem to be able to add or subtract from my winnings.
WalletText :500 HorseNumberTextBox: StakeTextBox:
I have 6 horses. I pick a horse number and enter it into the "HorseNumberTextBox", then I enter how much I want to bet into the "StakeTextBox".
once I press the Start button the horses run to the finish line. which ever horse hits the finish line first, its number is displayed in another text box called "Winner".
now ive been struggling with making what ever I have gambled in the StakeTextBox to tally up in my wallet or...if I lose the bet then for it to be deducted from my Wallet.
thanks for any hints n tips