Text based slot machine where user deposits a certain amount of money allowing them to bet on either one of the lines of slot machine, making them play until they run out of money.
The way it will work is:-
-
We need to collect the user's deposit, we need to add that to their balance.
-
We need to allow them to bet on a line or on multiple lines.
-
We then need to see if they actually got any of those lines.
-
Then spin the slot machine.
-
Generate different items that are going to be in the slot machine.
-
Then we need to add whatever they won back to their balance.