Skip to content

davesnx/dinosaur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 at React Europe 2019 (@brianphelps, @wokalski & @rauanmayemir).

It consisted on create a Flappy Bird clone revery-ui/revery-workshop. I turn it into the famous Chrome "No internet connection" Dino game!

Run it locally

Pre-requisities

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

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

About

🦖 Chrome "No internet connection" Dinosaur game, build with Revery.

Topics

Resources

License

Stars

Watchers

Forks