genkio / reason-dojo-snake

Snake game implemented with using ReasonML and Reprocessing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reprocessing Example

Clone this repo to get started with Reprocessing.

Demos are on other branches:

...and more on the Reprocessing repo.

How to

git clone https://github.com/bsansouci/reprocessing-example.git

Install

npm install

Build

npm run build

Start

npm start

To build to JS run npm run build:web and then run a static server, like python -m SimpleHTTPServer and go to localhost:8000. If you're using safari you can simply open the index.html and tick Develop > Disable Cross-Origin Restrictions.

To build to native run npm run build:native and run npm run start:native

The build system used is bsb-native.

About

Snake game implemented with using ReasonML and Reprocessing


Languages

Language:JavaScript 52.8%Language:OCaml 44.2%Language:HTML 2.5%Language:C++ 0.5%