_Title "Acey Ducey" 'b+ 2021-03-03 see how long it takes to write game from scratch 12:15 ' 1 hr to get it going + 2/3 to make it pretty,
' thing is there is no end to making pretty, I could add comma's to player's total for next beautification.
Cards$ = "23456789XJQKA" ' I guess Ace is highest
player& = 100 ' player
round& = 0 ' round
round& = round& + 1
CPR 2, "Acey Ducey Round #" + ts$(round&)
card1&
= Int(Rnd * 13) + 1 ' not exactly playing from a full deck here, could draw 5 aces in a row card2&
= Int(Rnd * 13) + 1 ' ok it's like 13 cards shuffled before each draw cardWinLose&
= Int(Rnd * 13) + 1 CPR
5, "First Card: " + Mid$(Cards$
, card1&
, 1) CPR
6, " 2nd Card: " + Mid$(Cards$
, card2&
, 1) CPR 8, "Player you have: $" + ts$(player&)
CPR 10, " Of that amount, please enter how much you would like to bet"
Input " that the next card is = or between those two cards"; bet&
If bet&
> player&
Then bet&
= player&
CPR
13, " Win | Lose Card: " + Mid$(Cards$
, cardWinLose&
, 1) If cardWinLose&
> card1&
And cardWinLose&
> card2&
Or cardWinLose&
< card1&
And cardWinLose&
< card2&
Then CPR 15, "Player Lost $" + ts$(bet&)
player& = player& - bet&
CPR 15, "Player Won $" + ts$(bet&)
player& = player& + bet&
CPR 20, "Zzz... press any"
CPR 23, " Player you are bankrupt, good day!"
Sub CPR
(Row
, S$
) 'Center Print Row