Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

High Low

Guess if the next number will be higher or lower than the current number. Features:

  • Streamlined interface to make playing multiple games in a row easy and fun
  • Save your best score with local highscores and leaderboards
  • Responsive design. Play on a desktop, laptop, tablet, or smart phone!

Check out the demo hosted at

Running High Low

In order to run High Low, clone the repository. Then run the following command. (You'll need node.js and bower already installed. See and for details.)

bower install

Next, you'll want to sign up for a Firebase account and create a new app. Copy/paste the permissions saved in firebase-permission.txt and put them in Firebase's "Security & Rules" page. Then, modify the existing Firebase URL in the following files and change it to your new app's URL:

  • leaderboard-reset.html
  • scripts/HighscoreFactory.js

Next, open leaderboard-reset.html in your web browser and click "Reset All Leaderboards" to initialize the high scores. Finally, open index.html and enjoy!

Why this was written

This was originally written as a sample program for a series of tutorial videos by the Paired Programmers. Watch them free here:

Follow the Paired Programmers


Copyright 2015 Keith Ott

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


No description, website, or topics provided.



No releases published


No packages published
You can’t perform that action at this time.