This is a command line word guessing game.
To build the project, use the following command:
make
Then play the game:
./wordler
The game will randomly-select a 5-letter word and you have unlimited guesses to get the word right. Each time you guess, if you have a letter that matches the same location as it is in the secret word, it will be revealed to you. However, any letter that does not match the secret word's letter at the same location will be displayed as _
. Good luck!
To use the project development environment, build the docker image using:
docker build -t cpp-analysis .
To run static analysis in the dev container:
docker run -it cpp-analysis
Or to run it with binding to changes to source code (but not the container configuration) use the above command with the added options --mount type=bind,source="$(pwd)",target=/usr/src
before the container name.