diff --git a/.gitignore b/.gitignore index 0ef0ab0..0922ee5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ *.iws .idea/ .DS_Store + +/node_modules \ No newline at end of file diff --git a/README.md b/README.md index a4643bf..10f66cd 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,11 @@ https://vimeo.com/24149718 # How to use 1. Download this repo -2. In the terminal type "node js/DemoHelloWorld/server.js" -3. Browse to "/DemoHelloWorld.html" +2. In the terminal, navigate to the root directory of the repo +3. Run "npm install" +4. Run "node js/BubbleDots/server.js" +5. Within another terminal, navigate to the root directory and run "python -m SimpleHTTPServer" +6. From the browser, open "http://127.0.0.1:8000/DemoBubbleDots.html" [![DemoBox2D](http://farm6.static.flickr.com/5105/5694643562_fffce8b9cf_z.jpg)](http://farm6.static.flickr.com/5105/5694643562_53e54993dd_o.png) diff --git a/package.json b/package.json new file mode 100644 index 0000000..8ac0c77 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "RealtimeMultiplayerNodeJs", + "version": "0.2.0", + "description": "RealtimeMultiplayerNodeJS is a framework specifically for building HTML5 multiplayer games with the Client / Server model", + "main": "js/BubbleDots/server.js", + "dependencies": { + "socket.io": "~0.9.16" + }, + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs.git" + }, + "author": "Mario Gonzalez", + "license": "-", + "bugs": { + "url": "https://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs/issues" + }, + "homepage": "https://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs" +}