A tiny terminal endless‑runner written in Go using Bubble Tea & Lip Gloss.
Jump rocks, leap holes, chase the high score—all in your shell.
- Emoji sprites (
🐹
,🪨
,🟫
) with double‑width handling - Adaptive layout: resizes to any terminal window
- Gentle speed ramp with per‑run reset
- Persistent high score stored locally in
.gopherdash_highscore
in your executable's directory - Game‑over cooldown & restart (
Space
)
# Go ≥1.24.4
go install github.com/krisfur/gopherdash@latest
The binary ends up in $GOBIN
(usually ~/go/bin
). Add that to your $PATH
or run with a full path.
git clone https://github.com/krisfur/gopherdash.git
cd gopherdash
go run .
Key | Action |
---|---|
Space or W |
Jump / Restart after game over |
Q |
Quit immediately |
- The hamster (
🐹
) stays in the centre; the world scrolls left. - Press Space / W to hop over rocks (
🪨
) or holes (🟫
). - Distance increases every tick; speed slowly ramps up.
- Collide once and it’s Game Over—your distance compares to the high score.
- Wait the 2‑second countdown, then hit Space to dash again.
The game writes/reads a plain‑text integer from:
.gopherdash_highscore
It lives in whatever directory you launch the game from, so it vanishes if you move or delete the project folder. Feel free to add it to .gitignore
.
PRs welcome! Bug fixes, difficulty tweaks, new themes—go for it.
- Fork & clone
git checkout -b feature/my‑thing
- Hack away, keep the
go test
green - Open a pull request
MIT © 2025 Krzysztof Furman
╭─────────────────────────────────────────╮
│ Distance: 128 │
╰─────────────────────────────────────────╯
╭─────────────────────────────────────────╮
│ │
│ 🐹 │
│🟫 🪨 🟫🟫🟫🟫🟫🟫🟫🟫🟫🟫🟫 │
╰─────────────────────────────────────────╯
╭─────────────────────────────────────────╮
│ Space = jump Q = quit │
╰─────────────────────────────────────────╯