Git Product home page Git Product logo

santa-runner's Introduction

Santa runner (Google Dinosaur game bootleg)

santa-runner

This is a Bootleg of the Google Chrome Easter Egg "Dinosaur_Game" (or "T-Rex Runner"). The game is an Easter egg which appears when you have no internet access. More info are available at the Dinosaur Game wiki

The dino game is extracted from the Chromium sources, rigged with the ES6 imports and bundled with webpack. This makes it very easy to build your own version of the T-Rex runner, because, for example, images and sounds will be automatically base64 encoded and all scripts are wrapped in a single file (that makes it easy then to upload it to your website or app)

PLAY ONLINE

Controls:

  • โฌ†๏ธ๏ธ Jump / Start the game (alternative key: Space Bar)
  • โฌ‡๏ธ Crouch

The original T-Rex game can be started inputting into the omnibox chrome://dino (or chrome://network-error/-106) in Chromium browsers > 39.


Development

As much as possible I made sure that you can edit the game assets and options, so you too can make your own bootleg. You can edit the assets in the './src' folder but, after doing so you have to recompile the scripts with webpack. See below how to do it:

Prerequisites:

Installation:

$ git clone https://github.com/WordPress/santa-runner.git
$ cd santa-runner
$ npm install

npm run build to build the bundled version (will be outputted into ./dist folder)

npm run start to start the webpack dev server @ http://localhost:8080


Credits

@ Chrome UX team in 2014 - Sebastien Gabriel, Alan Bettes, and Edward Jung

santa-runner's People

Contributors

erikyo avatar ivanobruno avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ivanobruno

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.