Skip to content

thrabchak/tetris-phaser

Repository files navigation

Tetris built with Phaser

A phaser based version of tetris.

Requirements

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.

Setup Instructions

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 :)

Acknowledgements

The following free, open sourced projects helped make this project possible:

  • Phaser - The game engine.
  • gjweb - This project provided the basic structure used when starting this project.

About

A phaser based version of Tetris

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published