nodeGame is a free, open source, real-time javascript framework for online, multiplayer games in the browser.
nodeGame is a general framework to play any kind of game online, but it specially designed to conduct social experiments.
- Open source and open standard (HTML5)
- Modular framework (server / client / window / widgets / games)
- Low / medium level of programming required
- Powerful API
- Integrated NDDB Javascript database
- Server can run multiple games at the same time
- Customizable waiting rooms for online games
- Works on mobile devices and tablets
- Installation is required only for the server, clients just need their browser windows
- Integrates smoothly with other libraries (e.g. jQuery, D3.js, etc.) and web services, such as Amazon Mechanical Turk
nodeGame comes with a default game taken from the academic literature of game theory. It is called the Ultimatum game. To play it follows the steps:
- Download the latest version of node.js for your platform
- Download the latest version of git for your platform
- Download and run the install scripts for Mac/Linux or Windows
- Open a terminal and browse to the
nodegame/
folder - Start the server with the command:
node launcher.js
- Open two or more browser tabs pointing to
localhost:8080/ultimatum
- Open a browser tab pointing to
localhost:8080/ultimatum/monitor.htm
You can download the development version of nodeGame using the install script for Mac/Linux or Windows
To keep your development version code base up to date you can use the
script in bin/pull-all.sh
(Mac/Linux only).
Complete documentation is available in the nodeGame wiki.
Copyright (C) 2015 Stefano Balietti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.