Skip to content

mattu0119/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Tetris game built on HTML5 Canvas and Javascript. Built mostly as a learning exercise for array matrixes and how to manipulate them. Live app

Getting Started

Running the game is simple:

Prebuilt Docker image (not easily editable)

docker run -d -p 80:80 --name tetris bsord/tetris

Nginx Docker with volume mounts (easily edit)

mkdir ~/tetris
cd ~/tetris
git clone https://github.com/bsord/tetris .
docker run --name tetris -v /home/YOURUSERNAME/tetris/:/usr/share/nginx/html:ro -d -p 88:80 nginx

Standalone Local

mkdir ~/tetris
cd ~/tetris
git clone https://github.com/bsord/tetris .
sudo cp * /usr/share/nginx/html

Once downloaded and place in a web server directory, open it in your browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •