Skip to content

casavaca/raylib-games-sokoban

Repository files navigation

Actions Status Actions Status codecov

Working in progress

live preview

How to build:

see github workflow file for dependencies.

  • Debug build: cmake -S . -B build -DCMAKE_BUILD_TYPE=DEBUG && cmake --build build
  • Release build: cmake -S . -B release-build -DCMAKE_BUILD_TYPE=RELEASE && cmake --build release-build
  • WASM build: emcmake cmake -S . -B emscripten-build -DPLATFORM=Web && cmake --build emscripten-build

How to run:

  • Linux: ./build/sokoban
  • Windows build: just run sokoban.exe.
  • Windows download: get the binary and assets from github CI artifact, then put the exe and "assets" into the same directory. Note: GitHub signed-in needed to download workflow artifacts. link
  • WASM example: python3 -m http.server -d emscripten-build

Coding conventions:

based on raylib-coding-conventions except that

  • { follows previous line.

TODO

  • Load levels from txt file
  • select levels
  • config gui
  • more testing and coverage

About

demo project as I learn how to use raylib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published