Skip to content

mibi88/CalcRace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !