tanoargie / tipeo-nada

SDL2 game to help you type better on the keyboard

Home Page:https://storage.googleapis.com/tipeo-nada-web/TipeoNadaWeb.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TipeoNada

This is a game in C++ based on the SDL framework to test your typing skills

Libraries required to develop
  • 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.

For web version
  • 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:

menu gameplay

About

SDL2 game to help you type better on the keyboard

https://storage.googleapis.com/tipeo-nada-web/TipeoNadaWeb.html


Languages

Language:C++ 90.5%Language:CMake 9.5%