amplitude / demo-games

An old classic, re-written in HTML5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo-games

Various games for marketing demos.

These are all browser games.

Local testing

You can run these locally by starting a simple http server

  1. go to directory
cd flappy
  1. start a simple http server
python3 -m http.server

NOTE: python will cache files so you'll have to hard refresh

alternatively you can brew install http-server then use

http-server -c-1

(-c-1 disables caching)

  1. go to the index file in your browser, e.g.
http://localhost:8000/index.html (python)
http://localhost:8080/index.html (http-server)

Deployment

We host these games via a public S3 bucket.

To "deploy" just upload the new files into the bucket com-amplitude-games via the S3 management console

NOTE: THIS BUCKET IS PUBLIC FOR READS SO THERE SHOULD BE NO SENSITIVE DATA

About

An old classic, re-written in HTML5.


Languages

Language:JavaScript 95.2%Language:CSS 2.9%Language:HTML 1.6%Language:PHP 0.3%