Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.88 KB

Readme.md

File metadata and controls

36 lines (24 loc) · 1.88 KB

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