a C90 implementation of PYRDLE
Go to file
2025-12-18 10:56:00 +00:00
dosbox more C90 strictness; move dos stuff into a dosbox folder 2025-12-18 10:03:02 +00:00
img add screenshots to readme 2025-12-18 10:56:00 +00:00
include refactored for modularity 2025-10-06 14:58:25 +01:00
src more C90 strictness; move dos stuff into a dosbox folder 2025-12-18 10:03:02 +00:00
wordlists rename word files 2025-12-17 09:59:33 +00:00
.clang-tidy more C90 strictness; move dos stuff into a dosbox folder 2025-12-18 10:03:02 +00:00
.gitignore more C90 strictness; move dos stuff into a dosbox folder 2025-12-18 10:03:02 +00:00
build.sh more C90 strictness; move dos stuff into a dosbox folder 2025-12-18 10:03:02 +00:00
CMakeLists.txt more C90 strictness; move dos stuff into a dosbox folder 2025-12-18 10:03:02 +00:00
README.md add screenshots to readme 2025-12-18 10:56:00 +00:00

CORDLE - The C90 Version of Wordle

A C90 implementation of the famous word game Wordle. I originally wrote this in Python, and decided to rewrite it in C90, to remediate myself, and to have a project I could work with in my old copy of DOS TurboC. Feel free to do whatever you like with it.

Requirements

  • C90 compliant compiler (tested with gcc -std=c90 -pedantic -Wpedantic)
  • Standard C library
  • Ncurses

Build

$ ./build.sh 
Building application.
Compile successful. Copying wordlists...
Build completed.

Run

$ cd build/cordle    
$ ./cordle -h  
cordle - C90 Wordle Game

Usage: ./cordle [OPTIONS]

Difficulty Levels:
  --easy       Common everyday words (default)
  --medium     Standard vocabulary
  --hard       Challenging words

Word Categories:
  --techy      Technical and scientific terms
  --literary   Literary and archaic terms
  --cultural   Cultural and international terms
  --full       Complete dictionary

Custom:
  --wordlist FILE   Use custom word list

Examples:
  ./cordle --easy
  ./cordle --techy
  ./cordle --wordlist mywords.txt

Screenshots

New Game

New Game

Win Game

Win Game

Lose Game

Lose Game

Install

Just copy the cordle binary in the build directory to your $PATH. If you want to use the supplied wordlists, copy the wordlists directory to your binary directory as well. Or supply your own wordlist path using the command line options.