Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 859 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 859 Bytes

CalcRace

A little video game made to get better in mental calculation !

Compiling the game

Required tools and libraries to build this game

  • For both targets
    • meson
    • ninja
    • python3
      • sys
      • os
      • Pillow
    • bash/zsh/dash
  • For the web version
    • emscripten
  • For the SDL2 version (currently there is no mouse support and no sound)
    • SDL2

Then just run :

$ meson bin --cross-file wasm-cross.txt
$ cd bin && ninja
$ ninja install

to compile the web version of the game. You'll have a run.sh script. After having it running you'll be able to play the game at localhost:8000 in your web browser.

$ meson bin
$ cd bin && ninja
$ ninja install

to compile the SDL2 version of the game. Then you can find CalcRace binary in the build directory.

I hope that you'll have a lot of fun playing it !