Skip to content

Commit

Permalink
Created package.json to include socketio as a dependency of the project.
Browse files Browse the repository at this point in the history
Updated the "how to use" steps so that it's easier to get started.
  • Loading branch information
Brendon Muschamp committed Mar 20, 2014
1 parent 0653f43 commit e0904b5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
*.iws
.idea/
.DS_Store

/node_modules
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit e0904b5

Please sign in to comment.