Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alanrsoares/reprocessing-snake
- Owner: alanrsoares
- Created: 2018-09-16T23:33:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-22T23:09:00.000Z (about 1 year ago)
- Last Synced: 2023-10-23T00:20:43.387Z (about 1 year ago)
- Topics: functional-programming, processing, reasonml, reprocessing, snake-game
- Language: ReScript
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).