{"id":16104070,"url":"https://github.com/davesnx/dinosaur","last_synced_at":"2025-03-18T08:31:24.966Z","repository":{"id":21518988,"uuid":"24838131","full_name":"davesnx/dinosaur","owner":"davesnx","description":"🦖 Chrome \"No internet connection\" Dinosaur game, build with Revery.","archived":false,"fork":false,"pushed_at":"2019-06-04T17:28:44.000Z","size":2545,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T08:19:55.990Z","etag":null,"topics":["chrome","dinosaur","game","reason","reason-native","revery"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davesnx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-06T08:04:46.000Z","updated_at":"2022-01-26T11:18:52.000Z","dependencies_parsed_at":"2022-08-21T02:20:08.357Z","dependency_job_id":null,"html_url":"https://github.com/davesnx/dinosaur","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesnx%2Fdinosaur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesnx%2Fdinosaur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesnx%2Fdinosaur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davesnx%2Fdinosaur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davesnx","download_url":"https://codeload.github.com/davesnx/dinosaur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910750,"owners_count":20367545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","dinosaur","game","reason","reason-native","revery"],"created_at":"2024-10-09T18:59:34.291Z","updated_at":"2025-03-18T08:31:24.270Z","avatar_url":"https://github.com/davesnx.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Dinosaur game build with Revery\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"docs/demo.gif\" /\u003e\n\u003c/p\u003e\n\nThe main idea of this repo was to learn Revery and native ReasonML.\n\nThe 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) \u0026 [@rauanmayemir](https://github.com/rauanmayemir)).\n\nIt 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)*!\n\n### Run it locally\n\n**Pre-requisities**\n\n- npm (6.5 or higher)\n- esy (version 0.5.7): `npm install -g esy@0.5.7`\n- Follow additional platform-specific instructors:\n  - Mac: https://github.com/revery-ui/revery/wiki/Building-\u0026-Installing#for-macos-users\n  - Linux: https://github.com/revery-ui/revery/wiki/Building-\u0026-Installing#for-macos-users\n  - Windows: https://github.com/revery-ui/revery/wiki/Building-\u0026-Installing#for-windows-native\n- VSCode + `reason-vscode` extension (Recommended)\n\n\u003c!-- The first-time build can take a while, as the entire compiler toolchain is being built. --\u003e\n\n**Setup**\n\n1. `git clone http://github.com/davesnx/dinosaur`\n2. `cd dinosaur`\n3. `esy install`\n4. `esy build`\n5. `esy run` \u003c-- That will popup a window where the game runs!\n\n### Roadmap\n\u003e or things that you could do to learn and improve the game\n- Refactor anything!\n- Add horizontal speed incrementation\n- Add enemies gap decrementation\n- Add unit tests with rely https://reason-native.com/docs/rely/\n- Add Dark mode\n- Add another kind of enemy: \"therodactiles\". Google Chrome dinosaur game have therodactiles that flies against the dinosaur when you cross 500 points.\n\n## License\n\n[MIT License](LICENSE)\n\n### Disclamer\n\nAll 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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavesnx%2Fdinosaur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavesnx%2Fdinosaur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavesnx%2Fdinosaur/lists"}