/javascript-tetris

A simple javascript tetris game

Primary LanguageHTMLMIT LicenseMIT

Tetris on Ainize!

Run on Ainize

Step.1 Fork and Clone your imgproxy repo

git clone https://github.com/${YOUR-GITHUB-ID}/javascript-tetris.git

Step.2 Docker build and push it to Docker Hub

docker build -t ${YOUR-DOCKER-HUB-ID}/javascript-tetris .
docker push ${YOUR-DOCKER-HUB-ID}/javascript-tetris

Step.3 Sign up and apply beta test at Ainize.ai

Step.4 Deploy Tetris on Ainize (Tutorial)

  1. Enter your Github repo url, https://github.com/${YOUR-GITHUB-ID}/javascript-tetris
  2. Enter your dockerhub container id, ${YOUR-DOCKER-HUB-ID}/javascript-tetris
  3. Set port as 80.

Step.5 Enjoy tetris

https://javascript-tetris.laeyoung.endpoint.ainize.ai/ (change laeyoung to your-ainize-ai)

Javascript Tetris

An HTML5 Tetris Game

SUPPORTED BROWSERS: Chrome, Firefox, Safari, Opera and IE9+

FUTURE

  • menu
  • animation and fx
  • levels
  • high scores
  • touch support
  • music and sound fx

License

MIT license.