Skip to content

Commit

Permalink
Add instructions on how to run the game
Browse files Browse the repository at this point in the history
  • Loading branch information
visola committed Feb 8, 2015
1 parent f25160f commit 751cdd9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,15 @@ Some of the things I've used in this code that you may think is useful:
1. [Directional light](https://github.com/visola/ShootTheBlocks/blob/master/js/objects/light.js) with shadows
1. [Control the direction](https://github.com/visola/ShootTheBlocks/blob/master/js/controls/bullet.js) of the shooting using the keyboard
1. [Control the camera](https://github.com/visola/ShootTheBlocks/blob/master/js/controls/camera.js) using the mouse

## How to use this

Download the code as .zip or clone this repository.

To run the game you'll need a HTTP server. You can either put the files in your running HTTP server if you have
one or use the simple one that comes with Python if you have Python installed:

```
$ cd /path/to/where/you/unzipped/the/files
$ python -m SimpleHTTPServer
```

0 comments on commit 751cdd9

Please sign in to comment.