add screenshots to readme

This commit is contained in:
Gregory Gauthier 2025-12-18 10:56:00 +00:00
parent 6cbe401022
commit fe09863601
4 changed files with 44 additions and 2 deletions

View File

@ -1,8 +1,14 @@
# CORDLE - The C90 Version of Wordle # 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 ## Requirements
- C90 compiler (tested with gcc -std=c90) - C90 compliant compiler (tested with gcc -std=c90 -pedantic -Wpedantic)
- Standard C library - Standard C library
- Ncurses - Ncurses
@ -19,9 +25,45 @@ Build completed.
``` ```
$ cd build/cordle $ cd build/cordle
$ 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](img/new-game.png)
**Win Game**
![Win Game](img/win-game.png)
**Lose Game**
![Lose Game](img/lose-game.png)
## Install ## 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. 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.

BIN
img/lose-game.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
img/new-game.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
img/win-game.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB