wordle-cli is my implementation of a famous game Wordle using C++ and SQLite. I made some additions to the game, such as different difficulties in terms of word lengths, and I made it possible to add your own words in the game permanently.
The word database has been pulled from this repository and it has been super helpful, so please give them a star.
The database has been split in multiple smaller databases using my own scripts that you can find in scripts directory. I also made sure to remove short words and names that I took form this Kaggle dataset.
I decided to use SQLite to store words from the english-words repository. I used C++ bindings and wrappers from this repository, so please leave a star there too as it has been prooved to be super helpful. I kept the library in the repository to ease building the binary.
- A terminal emulator that supports colored output.
You can find prebuilt binaries of the game in the Release section. Make sure that the binary is in the same directory as the res folder which contains databases with words.
- Prerequisets
git,CMake,C++ compiler,SQLiteCpp,vcpkg - Install
SQLiteCppusingvcpkgusing a method of your choice. - Clone the repository
git clone https://github.com/kotique123/wordle-cli-cpp - Go to repository directory
cd wordle-cli - Make a build directory and go there
mkdir build && cd build - Generate Makefiles
cmake -DCMAKE_BUILD_TYPE=Release .. - Build
cmake --build . - The files will be in
bindirectory. Launch the game with./bin/wordle-cli

