/demo-games

An old classic, re-written in HTML5.

Primary LanguageJavaScript

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