Skip to content

LaDaniWapa/Hexle-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Guess the hex value of a color

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages