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!
Running High Low
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:
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.