Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davesnx/dinosaur
🦖 Chrome "No internet connection" Dinosaur game, build with Revery.
https://github.com/davesnx/dinosaur
chrome dinosaur game reason reason-native revery
Last synced: 3 months ago
JSON representation
🦖 Chrome "No internet connection" Dinosaur game, build with Revery.
- Host: GitHub
- URL: https://github.com/davesnx/dinosaur
- Owner: davesnx
- License: mit
- Created: 2014-10-06T08:04:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T17:28:44.000Z (over 5 years ago)
- Last Synced: 2024-10-10T18:59:34.142Z (3 months ago)
- Topics: chrome, dinosaur, game, reason, reason-native, revery
- Language: OCaml
- Homepage:
- Size: 2.43 MB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Dinosaur game build with Revery
The main idea of this repo was to learn Revery and native ReasonML.
The code is based on the Workshop made by the [Revery's team](https://github.com/revery-ui) at **React Europe 2019** ([@brianphelps](https://github.com/bryphe), [@wokalski](https://github.com/wokalski) & [@rauanmayemir](https://github.com/rauanmayemir)).
It consisted on create a Flappy Bird clone [revery-ui/revery-workshop](https://github.com/revery-ui/revery-workshop). I turn it into the famous *[Chrome "No internet connection" Dino game](chrome://dino)*!
### Run it locally
**Pre-requisities**
- npm (6.5 or higher)
- esy (version 0.5.7): `npm install -g [email protected]`
- Follow additional platform-specific instructors:
- Mac: https://github.com/revery-ui/revery/wiki/Building-&-Installing#for-macos-users
- Linux: https://github.com/revery-ui/revery/wiki/Building-&-Installing#for-macos-users
- Windows: https://github.com/revery-ui/revery/wiki/Building-&-Installing#for-windows-native
- VSCode + `reason-vscode` extension (Recommended)**Setup**
1. `git clone http://github.com/davesnx/dinosaur`
2. `cd dinosaur`
3. `esy install`
4. `esy build`
5. `esy run` <-- That will popup a window where the game runs!### Roadmap
> or things that you could do to learn and improve the game
- Refactor anything!
- Add horizontal speed incrementation
- Add enemies gap decrementation
- Add unit tests with rely https://reason-native.com/docs/rely/
- Add Dark mode
- Add another kind of enemy: "therodactiles". Google Chrome dinosaur game have therodactiles that flies against the dinosaur when you cross 500 points.## License
[MIT License](LICENSE)
### Disclamer
All the assets comes from some dribble that I downloaded ages ago. Don't know the source, I just created the animation of the Dino :D