Giter VIP home page Giter VIP logo

higherorlower's Introduction

Higher or Lower

alt text

Introduction

Higher or Lower is a simple offline-first Progressive Web App game where the player has three lives to score as many points as they can by predicting whether the next card in the deck will have a value that is higher or lower than the current one (basically a rip off of Bruce Forsyth's Play Your Cards Right).

I built this to try out new things, especially CSS3 Grid which I've used to build the card faces, whilst allowing me to gain more experience with ES6 and Webpack.

I have built two versions of this game:

Given time, I might create versions written in React/Preact and Vue.js as well...

Core technologies used

  • Webpack 3
  • ES6
  • Service Workers, using Workbox
  • SASS with PostCSS
  • CSS3 Grid
  • Flexbox
  • Yarn
  • Jest

Features

  • HTTP/2 CDN delivery
  • Full offline support via Service Workers
  • PageSpeed Insights score of 100/100 on both mobile and desktop
  • 100/100 Progressive Web App score on Lighthouse
  • WebPageTest speed index of ~640
  • Inlined critical path CSS using Critical
  • Persistent "Best score" via localStorage

Browser support

Higher or Lower has been tested on the latest versions of modern browser across Windows, Android, MacOS and iOS. That's right - no Internet Explorer support. I've thrown off the shackles and it feels good (if you can't do that on your personal projects, when can you).

higherorlower's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.