GitHunt
DA

daypunk/punkdoku

terminal SUDOKU GAME for punks โญ๏ธ

Punkdoku

punkdoku
GitHub StarsLatest ReleaseDownloads

Go Version TUI Framework

Image

Sudoku Daily Seed Puzzles

๊ฐœ์š”

punkdoku ๋Š” macOS, Linux์—์„œ ์ฆ๊ธฐ๋Š” ํ„ฐ๋ฏธ๋„ ์Šค๋„์ฟ  ๊ฒŒ์ž„์ž…๋‹ˆ๋‹ค. Go๋กœ ์ž‘์„ฑ๋˜์—ˆ๊ณ  Bubble Tea์™€ Lipgloss๋กœ ๋ณด๊ธฐ ์ข‹์€ TUI๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ํผ์ฆ์€ ๋‚œ์ด๋„๋ณ„๋กœ ์ƒ์„ฑ๋˜๋ฉฐ, 4๊ฐœ์˜ ๋‚œ์ด๋„ ๋ชจ๋“œ๋Š” ๋ฐ€๋ฆฌ์ดˆ ๊ธฐ๋ฐ˜ ์‹œ๋“œ๋ฅผ ์‚ฌ์šฉํ•ด ํผ์ฆ์„ ์ƒ์„ฑํ•˜๊ณ , Daily ๋ชจ๋“œ๋Š” UTC ๋‚ ์งœ ๊ธฐ๋ฐ˜ ์‹œ๋“œ๋ฅผ ์‚ฌ์šฉํ•ด ๋ชจ๋“  ์‚ฌ์šฉ์ž๊ฐ€ ๋™์ผํ•œ ํผ์ฆ์„ ๋ฐ›์Šต๋‹ˆ๋‹ค. ์ž…๋ ฅ ์• ๋‹ˆ๋ฉ”์ด์…˜, Undo, Autoโ€‘Check, ํƒ€์ด๋จธ ๋“ฑ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

Overview

punkdoku is a terminal Sudoku game that runs identically on macOS and Linux. It is written in Go and provides a visually appealing TUI built with Bubble Tea and Lipgloss. Puzzles are generated per difficulty level: the four difficulty modes use a millisecond-based seed to create unique puzzles, while Daily mode uses a UTC date-based seed so that all players receive the same puzzle. The game supports input animations, undo, auto-check, and a timer.

Quick Start

# Download
brew install daypunk/tap/punkdoku

# Run ๐Ÿงฉ
punkdoku

Option 2: Manual Download

macOS

# Download
curl -L -o punkdoku https://github.com/daypunk/punkdoku/releases/latest/download/punkdoku-macos-$(uname -m | sed 's/x86_64/amd64/')

# Make it executable
chmod +x punkdoku

# Move to your PATH
sudo mv punkdoku /usr/local/bin/

# Run ๐Ÿงฉ
punkdoku

Linux

# Download
curl -L -o punkdoku https://github.com/daypunk/punkdoku/releases/latest/download/punkdoku-linux

# Make it executable
chmod +x punkdoku

# Move to your PATH
sudo mv punkdoku /usr/local/bin/

# Run ๐Ÿงฉ
punkdoku

How to Play

Run punkdoku in your terminal and use:

  • Arrow keys to navigate
  • 1-9 to place numbers
  • 0 or Space to clear cells
  • u to undo
  • a to toggle auto-check
  • t to toggle timer
  • m to return to menu
  • q to quit

Game Modes

  • ๐Ÿผ Easy - Good for beginners
  • ๐ŸŒž Normal - Balanced challenge
  • ๐ŸŒš Hard - Requires strategy
  • ๐Ÿฅ€ Lunatic - Expert level
  • ๐ŸŒž Daily(=Normal) - Same puzzle for everyone, changes daily

Features

  • Cute! minimalist interface
  • Daily puzzles with shared seeds
  • Smart puzzle generation (unique solutions only)
  • Undo/redo functionality
  • Real-time error checking
  • Built-in timer
  • No external dependencies

Development

# Run locally
go run ./cmd/punkdoku

# Build binary
go build -o punkdoku ./cmd/punkdoku

Requires Go 1.23+ and works best with terminals that support Unicode and true color.

License

MIT License - feel free to use and modify as needed.

daypunk/punkdoku | GitHunt