Skip to content

Commit

Permalink
changed some things so it would be heroku compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
j-chen committed Sep 8, 2012
1 parent 91b7c6c commit 5bdb04d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions Procfile
@@ -0,0 +1 @@
web: node winston.js
2 changes: 1 addition & 1 deletion README.md
@@ -1,3 +1,3 @@
This is a little webapp that is a blatant plagiarism of another repository of my friends that allows you to run the Savage Worlds initiative system, but right now is a prototype for a Winston draft simulator for magic, using my cube as reference. Edit the config.js file to set your port (default of 9000), loglevel can stay at 1. Point your browser to the host's IP, and have fun!
This is a little webapp that is a blatant plagiarism of another repository of my friends that allows you to run the Savage Worlds initiative system, but right now is a prototype for a Winston draft simulator for magic, using my cube as reference. Edit the config.js file to set your port (default of 3141), loglevel can stay at 1. Point your browser to the host's IP, and have fun!

The first person to make a room with a password is automatically the admin of that room. That person can force cards to be drawn for others, or to boot others.
2 changes: 1 addition & 1 deletion config.js
@@ -1,4 +1,4 @@
module.exports = {
'port' : 9000
'port' : 3141
, 'loglevel' : 1
};
15 changes: 15 additions & 0 deletions package.json
@@ -1 +1,16 @@
{
"name" : "winchester"
, "version" : "0.0.1"
, "main" : "./winchester.js"
, "description" : "A little webapp simulating a cube winchester draft for 2 people."

, "dependencies" : {
"socket.io" : "0.9.x"
}
, "engines" : {
"node" : "0.8.x",
"npm" : "1.1.x"
}
, "license" : "GPLv3"
}

2 changes: 1 addition & 1 deletion src/http/index.html
Expand Up @@ -23,7 +23,7 @@
<div id='logon'>
<form id='logonform'>
Server: <input type='text' id='server' value='localhost'/><br/>
Port: <input type='text' id='port' value='9000'/><br/>
Port: <input type='text' id='port' value='3141'/><br/>
Game Name: <input type='text' id='gamename'/><br/>
Game Pass: <input type='password' id='gamepass'/><br/>
User Name: <input type='text' id='username'/><br/>
Expand Down

0 comments on commit 5bdb04d

Please sign in to comment.