Skip to content

electrotechgeek/MariOCaml

Repository files navigation

MariOCaml

##Building the Project

  1. First, ensure that js_of_ocaml and its dependencies are installed by running:

     opam install js_of_ocaml
    
  2. With the cs3110 tool installed, run:

     cs3110 compile -p js_of_ocaml -p js_of_ocaml.syntax main.ml
    

to compile the binaries to the _build folder.

  1. To cross-compile to javascript, run

     js_of_ocaml _build/main.d.byte
    
  2. Open index.html to run!

About

HTML 5 canvas implementation of Mario written in Ocaml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 91.6%
  • CSS 4.1%
  • HTML 4.0%
  • Makefile 0.3%