From 751cdd9571ce297da5946e4b43552a450434e0bf Mon Sep 17 00:00:00 2001 From: Vinicius Isola Date: Sun, 8 Feb 2015 15:00:34 -0500 Subject: [PATCH] Add instructions on how to run the game --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index ecfdc8a..6d01fdd 100644 --- a/README.md +++ b/README.md @@ -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 +```