Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.32 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.32 KB

bootjack

A bootable Blackjack written in 508 bytes.

docs/bootjack.png

Limitations

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".

Running Locally

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.

References