Inspiration

This project was inspired by NY Times' Wordle game.

What it does

This is a recreation of the official Wordle game, except all of the possible answers are related to winter, or the winter holidays.

How we built it

With c++, we used the ncurses library and hunspell for the extra features in the terminal and spellchecking, to validate that a user's input is a real word. For a seamless environment, we also used Docker and Makefile.

Challenges we ran into

We had a difficult time installing and setting up the Hunspell library. For some reason, we had trouble linking to the library when trying to compile our code. As a result, we incorporated Docker, so the players wouldn't have to worry about dependencies. Additionally, we attempted to add music to our project, but none of the audio libraries we tried (miniaudio, sdl_mixer, sfml) worked with Docker. It would compile and "run" but no sound would be emitted. Unfortunately, we ended up not going ahead with the music due to time constraints. Another challenge was the formatting. By default, the code prints everything in the center of the screen. On some screens, this looks a little off. So sometimes the physical dimensions of the screen somewhat affect how the output looks.

Accomplishments that we're proud of

This was our first time using ncurses and hunspell, and we weren't that familiar with Docker prior to this. This project came out great though, and we managed to make it functional and look pretty.

What we learned

We learned how to rely on older documentation, as well as implement c libraries into a c++ project.

What's next for Winter Wordleland

Towards the end of the project, we realized that the real version of Wordle (NY Times), displays a keyboard on the bottom of the screen, showing what letters the player never tried. We realized this too late to add to our project, but it would be a great addition in the future. Another attempt at music would also be fun.

Built With

Share this project:

Updates