A super simple Mastermind terminal game written in Go, built with Bubble Tea + Lipgloss.
go run .- Guess the 4-digit code.
- After each guess you’ll get feedback:
- Correct position: right digit in the right slot
- Wrong position: right digit in the wrong slot
- Move cursor:
←/→orh/l - Quit:
q,esc, orctrl+c - Reset:
r - Confirm / submit:
enterorspace
main.go: program entrypointinternal/game/mastermind: core game logicinternal/ui/tui/mastermindtui: Bubble Tea model + view/updateinternal/ui/styles: Lipgloss styles