Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 682 Bytes

File metadata and controls

25 lines (20 loc) · 682 Bytes

Hexle-cli

A Terminal-based clone of Hexcodle built in Rust.
Guess the hex color in 5 attempts — each digit gives you feedback on how close you are.

preview

Gameplay

Each digit of your guess is colored:

  • 🟩 Green — correct digit
  • 🟨 Yellow — off by 1 or 2
  • 🟥 Red — way off

Install & Run

cargo install --path .
hexle

Controls

Just type like you would normally, ESC is for exiting and R for restarting after you win or lose.

Built with

  • ratatui - TUI framework
  • crossterm - Captures keyboard strokes and controls terminal
  • rand - Used to generate a random color