- SDL
- SDL_Mixer
- SDL_Image
- SDL_TTF
This 4 dependencies are added as git submodules so after cloning you should get these 4 under the external
directory.
- Emscripten (EMCC)
It uses Emscripten to compile it to an html and play it on the web.
For both versions (web and desktop) CMake is used. To build the web version it should be enough to do:
emcmake cmake -B build_emscripten
cd build_emscripten
make
and for the desktop version:
cmake . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=1
cd build
make
Then you can test it locally by going to build
directory and running:
./bin/TipeoNada
You can add any word corpus to the game in src/Assets/words.txt
. Be careful because Emscripten (the web version) doesn't work very well with composite keys (E.G.: è, á, etc.).
You can check it out and play it online here
Some screenshots: