Skip to content

elzibus/Ocaban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ocaban

To execute the program:

dune exec Ocaban

Alt text

To play:

  • Cursor keys : move the character
  • Page Up / Page Down : change level
  • Backspace key : undo moves

How I got this ready for upload

  • dune init project Ocaban
  • Copied main.ml, levels.ml in the ./bin sub-folder
  • added libraries ocaml-canvas and react to the ./bin/dune file
  • created ./assets and copied the spritesheet PNG file

Play

You can play the game here: https://elzibus.github.io/

Credits

OCaml language : https://ocaml.org/
ocaml-canvas library : https://ocamlpro.github.io/ocaml-canvas/
Sprites : https://kenney.nl/
Sokoban levels : https://github.com/begoon/sokoban-maps