A simple terminal-based card game built with Go and bubbletea. Practice tracking probabilities as you draw cards from a standard 52-card deck.
- ASCII art card visualization
- Three-pile display: Deck, Hand, Discard
- Real-time probability tracking by rank
- Shuffle to reset the deck
go build
./card-gamed- Draw a card (moves current hand to discard, draws new card)s- Shuffle deck (returns all cards to deck and randomizes)q- Quit
deck/- Pure game logic for card managementui/- Bubbletea TUI implementationrender/- ASCII art rendering functions
go test ./...