The goal of this repository is to have a bunch of simple games for kids to learn.
Generates two numbers and checks user's input if it follows correctly the written multiplication method. Demo is available here:
- PL: karolsamborski.com/gry/mnozenie-pisemne
- EN: karolsamborski.com/en/games/written-multiplication
- ES: karolsamborski.com/es/juegos/multiplicacion-vertical
Running make
will compile the source code with the debugger.
make multiplication_release
will compile it with optimizations.
When you add new or delete old translations you need to regenerate the code by running:
make lang LANG=pl
Please note that only changes in json file structure need code regeneration.
In order to see the translation you should pass lang
parameter in the URL, e. g.: localhost:8000/demo/multiplication.html?lang=es
will show Spanish version of the game.
If you'd like to run the game locally you first need to compile it (using the steps above) and then run:
docker-compose up
. After that you will be able to see it under localhost:8000/demo/multiplication.html