#wordle #terminal-game #clone

app turdle

A Wordle clone for the terminal

6 releases

0.3.1 Jun 10, 2024
0.3.0 Jun 10, 2024
0.2.2 Jun 9, 2024
0.1.0 Jun 5, 2024

#62 in Games

Download history 16/week @ 2024-09-29

256 downloads per month

MIT/Apache

135KB
16K SLoC

Turdle

A Wordle clone for the terminal

Turdle screenshot

Turdle is a clone of the popular browser-based word game Wordle by Josh Wardle, now owned by The New York Times. The (admittedly crude) name is a portmanteau of TUI + Wordle.

A random word is selected each time the game is run. Run turdle --help for additional options.

Features

  • The same pool of 2,309 answers and 12,546 valid words from the original game
  • Large-font gameboard reminiscent of the original game
  • Animated letter reveals and invalid word feedback
  • 'Keyboard' showing the state of each letter you've used
  • An emoji result grid is printed when you guess correctly
  • Play today's Wordle with turdle today
  • Play a specific date's Wordle with turdle date <YY-MM-DD>

Special Keys

  • Use Esc to exit
  • Use Tab to toggle the keyboard layout or set TURDLE_QWERTY_MODE=1 to always start with QWERTY layout
  • Use Page Up and Page Down to cycle the background colour and Home to reset it

Installation

Linux and Windows binaries are available on the releases page.

Alternatively, if you already have Rust installed, simply run:

cargo install turdle --locked

If you encounter a linker error, your system may be missing the required compiler toolchain:

Arch

sudo pacman -S base-devel

Debian/Ubuntu

sudo apt install build-essential

Centos

sudo yum install gcc

Compatibility

Due to the large font used for the gameboard, your terminal must be at least 34 rows high for it to render correctly.

Turdle targets modern terminal emulators. The large font rendering is unlikely to work running in the Windows command prompt or Powershell, but it does work on later versions of Windows Terminal.


License

MIT or Apache 2.0 at your discretion.

Dependencies

~18–31MB
~455K SLoC