The nodeGame framework allows you to run real-time games and experiments, as well as surveys and other human-intelligence tasks. Learn how on https://nodegame.org.
Click this button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the NodeGame 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB NodeGame Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "nodegame-18-04"}' \
"https://api.digitalocean.com/v2/droplets"
This app will setup the basic nodeGame v7 server with an ultimatum game.
After creating the droplet, ssh once into your droplet to automatically initialize the nodeGame server.
You can then upload your own game into the server’s games/ directory and restart the server. Instructions will be shown at startup and saved into your home directory.
Previous version v6 available in a separated folder (must start manually).
More info on: https://github.com/nodeGame/nodegame/wiki/nodeGame-on-DigitalOcean