/Mareo

HTML 5 canvas implementation of Mario in Reason + Bucklescript

Primary LanguageJavaScriptMIT LicenseMIT

Fork of https://github.com/mahsu/MariOCaml, converted to Reason and compiled using BuckleScript.

Play it live!

Goal of the Project

See the accompanying blog post here

Run It Yourself

git clone https://github.com/reasonml-community/Mareo.git
cd Mareo
npm install
npm start

Then, if you're using Safari or Firefox, simply open docs/index_dev.html. No bundling needed! Safari supports native es6 modules, which we can compile to. If not, run npm run pack-for-es6-less-browsers then open that html page. For Chrome, since there are security restrictions concerning loading local scripts, you'd have to start a small server. Try python -m SimpleHTTPServer or something.

(There's also an index.html file in that directory. Ignore that; it's just for the github demo.)