A phaser based version of tetris.
- git
- node
- python 2.7 - optional if you have a local web server
Currently the game is not hosted on a website, you will need to get the source code in order to run the game. The easiest way to do so is cloning the project from GitHub using git.
This project uses npm to manage project dependencies. If you do not have nodejs installed, you can download it here.
Because this is a web based game, the source code will need to be run on a server in order to play the game. A simple way to run a local server is by using python's SimpleHTTPServer. To do this, you should have python 2.7 installed. You can download python 2.7 here.
To get the game up and running on your own machine perform the following commands in a terminal.
First, clone from GitHub:
git clone https://github.com/thrabchak/tetris-phaser.git
Next, install the project dependencies:
npm install
Finally start your server:
python -m SimpleHTTPServer 8081 .
Now you can navigate to http://localhost:8081 to play the game :)
The following free, open sourced projects helped make this project possible: