Developing a collaborative game using NodeJS, SocketIO & jQuery

Quick link to the game I made

You may remember a few months ago I did an article on Real time mouse activity using NodeJS and Socket, well I wanted to extend that functionality into some sort of game. It was obvious from the demo I made that people enjoyed interacting with each others cursors and I quite enjoyed working on it.

Today was our second day working on the game and our UI design is pretty much done and so are 2 of the 3 minigames designs. The mechanics are coming along with a few cretins as we have to wrestle with Internet Explorer‘s(8+9b) interesting interpretation of how Socket should perform. Firefox and Chrome have been a dream to work with the jQuery implementation of the animations and the scoreboard have gone pretty smoothly..

We’re doing about 10 hours a day on it at the moment however the days only feel 6 hours or so long as it is a labour of love and is a nice change from the mundane PHP bugs I usually deal with.  The work we are doing is one of the small steps needed to move away from Abobe Flash based games.

We’re hoping to demo one of the mini games to the LeedsJS folks on the 9th of March so if you want to see then come along! By the 9th of March I will expect about 100 hours or so in total has been spent on the game and you wont be able to tell as nearly all of the work is done on the server/back end as we are writing mechanisms that mean the game can operate as leanly as possible on both desktop browser and mobile browsers.

Here are our goals for the project:

  1. Scalability
  2. Completion in time for some competition thingy in April
  3. Any browser on any device that supports socket
  4. Hopefully flash fall back on non-socket supporting devices.
  5. Push all code as Open Source  under Apache license in Summer.

Quick thanks to John at Brightbox for providing the hosting for the project 🙂 We’re using their very BETA vm hosting service which I don’t know much about but it is super fast and is speeding up our development somewhat.

Enhanced by Zemanta

Quick link to the game I made

Leave a Reply

Your email address will not be published. Required fields are marked *