Tetris 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)
- Enter your Github repo url,
https://github.com/${YOUR-GITHUB-ID}/javascript-tetris
- Enter your dockerhub container id,
${YOUR-DOCKER-HUB-ID}/javascript-tetris
- 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
- play the game
- read a blog article
- view the source
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.