Permalink
Browse files

Updated core for BrowserQuest support

  • Loading branch information...
1 parent 985fdcd commit 6688b67bdabebe22e3d90708ed7bb97a4119b6ee @sbstjn committed Apr 10, 2012
Showing with 16 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −1 app.js
  3. +14 −1 views/home.jade
View
@@ -12,6 +12,6 @@ See `serial.js` for setting your serial port and needed baud rate
parser: serialport.parsers.readline("\n")
});
-Install dependencies with `npm install`, start the application with `node app.js` and point your web browser to [http://localhost:8080](http://localhost:8080) to see your arduino's serial output…
+Install dependencies with `npm install`, start the application with `node app.js` and point your web browser to [http://localhost:8080](http://localhost:8099) to see your arduino's serial output…
Using Node.js, Express.js, Socket.IO, bootstrap by twitter and some more libs…
View
2 app.js
@@ -3,5 +3,5 @@ requirejs.config({nodeRequire: require});
requirejs(['serial', 'web', 'socket'],function(serial, web, socket) {
serial.connect(socket);
- web.listen(8080);
+ web.listen(8099);
});
View
@@ -4,11 +4,24 @@
a.brand(href='#') Arduino WebSocket
.nav-collapse
ul.nav
+ // li
+ a(href='/browserquest/client/') BrowserQuest Controller
li
a(href='https://github.com/semu/node-arduino-socket') View on GitHub »
br
br
br
.container
pre
- ul#socket
+ ul#socket
+// .container
+ h2 BrowserQuest Controller
+ p If you are running your own
+ a(href="http://browserquest.mozilla.org/") BrowserQuest
+ | server on default port 8000, you can use the
+ a(href="http://www.sparkfun.com/products/9760") SparkFun Joystick Shield Kit
+ | with the
+ a(href="/browserquest/client/") customized BrowserQuest client
+ | to control your character. Please upload the provided <code>CallbackExample.pde</code> file from
+ a(href="https://github.com/sudar/JoystickShield") Sudur Muthu
+ | to your Arduino for sending commands from the joystick to the serial port watcher…

0 comments on commit 6688b67

Please sign in to comment.