Some Game

prerequisite

  • g++ (gcc/mingw...)

install libraries

Windows

After cloned

$ ./vcpkg/bootstrap-vcpkg.bat
$ ./vcpkg/vcpkg.exe install sdl2 sdl2-image nlohmann-json sdl2-ttf --triplet=x64-mingw-dynamic --host-triplet=x64-mingw-dynamic

MacOS(Apple Silicon)

$ ./vcpkg/bootstrap-vcpkg.sh
$ ./vcpkg/vcpkg install sdl2 sdl2-image nlohmann-json sdl2-ttf --triplet=arm64-osx-dynamic --host-triplet=arm64-osx-dynamic

compile

Windows

$ mingw32-make.exe run

MacOS(Apple Silicon)

$ make run