QB64.org Forum
Active Forums => Programs => Topic started by: mynameispaul on October 25, 2020, 07:58:14 am
-
Guess if the next card in the deck is higher or lower than the current card
Put all files in the ZIP file in the folder where you have QB64
should look something like the following...
(folder containing QB64)
$GameRecord.bas
ASCII_RGB.ini
Hi-Lo.bas
\PgmFiles
.\BlackJack
.\Hi-Lo
Create exe for $GameRecord.bas first, then Hi-Lo.bas
-
OK it works :)
I wonder if you can do this with half the Lines of Code? (Challenge!).
We use to do such to sharpen our coding skills.
ie Do you really need to load colors from a data file?
-
Here is what I came up with. I tried to make a more interesting game with this Doublings variation:
zip contains: bas source, cards.png sheet and Spriggsy's Marquee Moon ttf font.