Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alanrsoares/reprocessing-snake

Snake game written entirely in ReasonML with Reprocessing
https://github.com/alanrsoares/reprocessing-snake

functional-programming processing reasonml reprocessing snake-game

Last synced: about 1 month ago
JSON representation

Snake game written entirely in ReasonML with Reprocessing

Awesome Lists containing this project

README

        

## Reprocessing Snake

Snake Game written entirely in ReasonML using Reprocessing

Builds to both Web and OpenGL

![screenshot](/assets/screenshot.png)

## How to

```
git clone https://github.com/alanrsoares/reprocessing-snake.git
```

### Install

```
[npm | yarn] install
```

### Run

```
[npm | yarn] run dev
```

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](https://github.com/bsansouci/bsb-native).