A bootable Blackjack written in 508 bytes.
This is a minimal blackjack so its single deck and missing bets, splits, etc.
I ran out of space to print scores per round, but blackjack isn't hard to calculate.
I also ran out of space for good prompts, so when its the player's turn:
h=hit
, q=quit
, and any other char is considered a stand.
The same type of logic exists for when the game is over. q=quit
and any other
char is considered to be "play again".
Build and run via QEMU with - make qemu
I also made a little C prototype in c/ that can be
run with - gcc c/blackjack.c -Wall -o blackjack; ./blackjack
.