nodegame / nodegame Goto Github PK
View Code? Open in Web Editor NEWComplete nodegame repository with examples and documentation
License: MIT License
Complete nodegame repository with examples and documentation
License: MIT License
Explain also DISPATCH_TO_SAME_ROOM option
If @dev option is selected it should by default copy the git-hooks inside the directories
As title
svoGroup = 1 if svo_degree < -12.04 // competitive
svoGroup = 2 if svo_degree >= -12.04 & svo_degree < 22.45 // individualistic
svoGroup = 3 if svo_degree >= 22.45 & svo_degree < 57.15 // prosocial
svoGroup = 4 if svo_degree >= 57.15 // altruistic
Whenever a result file has been opened in the past, a warning should be shown when it is re-opened again, and possibly a list of actions that has been performed with that file.
It is a bit unclear what is the best action plan here, because this change could break many things. Maybe a separate list with disconnected players is safer.
Phantoms might fail if they are alongside compilation (receive incomplete or missing nodegame-full).
Example of command:
node launcher -b widgets -p ultimatum -n 2
v 0.5
Installation for dev and latest fails because smoosh cannot install a sub-module.
The easy fix is to stop the installation under node 8 and show a warning.
I haven't try installing the stable version on node 8, maybe that works if does not require a smooshed file.
Maybe this is more a nodegame-window issue.
To consider, it would make (auto) bots and phantoms easier to write.
Periodically, upon starting the server (or only by explicit request), current version should be checked against latest, and user should be prompted to update or not.
...
Maybe we can merge all its options in auth.settings.js
Oops! The following error/s occurred:
{ Error: EACCES: permission denied, rename '/home/balistef/www/node_modules/nodegame' -> '/home/balistef/www/nodegame-v4.0.4'
at Object.renameSync (fs.js:589:3)
at someMagic (/home/balistef/www/nodegame-installer.js:387:12)
at execFile (/home/balistef/www/nodegame-installer.js:248:21)
at ChildProcess.exithandler (child_process.js:280:7)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Socket.stream.socket.on (internal/child_process.js:380:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close (net.js:599:12)
errno: -13,
syscall: 'rename',
code: 'EACCES',
path: '/home/balistef/www/node_modules/nodegame',
dest: '/home/balistef/www/nodegame-v4.0.4' }
Installation did not complete successfully.
Examples:
Auth codes, or simple ids, could be saved on request to file system, and reloaded when the server is restarted.
Seems broken, or at least the API could be improved, with wiser defaults.
As title.
By the way, I modified the limit from 81 to 82 chars, because the new line also counts as a character, and we don't care
At the moment players need to be moved manually across levels. A file could contain the order of levels and the criteria to be moved into them.
Maybe all levels should be inside levels (also the default one), although it would be nice to guarantee backward compatibility
TODO: Revert to plot.jump in case of reconnection.
As specified in channel.settings, to be implemented.
Example:
This does not work:
stager
.next('instructions')
.next('quiz')
.repeat('game', settings.REPEAT)
.repeat('game AS game2', settings.REPEAT)
.repeat('game AS game3', settings.REPEAT)
.next('questionnaire')
.next('end')
.gameover();
stager.extendStage('game', {
steps: ['bid', 'results']
});
This works:
stager
.next('instructions')
.next('quiz')
.repeat('game', settings.REPEAT)
stager.extendStage('game', {
steps: ['bid', 'results']
});
stager.repeat('game AS game2', settings.REPEAT)
.repeat('game AS game3', settings.REPEAT)
.next('questionnaire')
.next('end')
.gameover();
When it does not work, node.game.plot.getStep fails because inside the sequence the aliasing stage has empty steps array.
Add example in readme for validation.
Creates a player.model.js or .json file where missing properties are added by default to every player object in db.
It would be nice if the numbers on the subdirectories of the data directory were more digits (at least four, maybe even five or six), with leading zeros. For example, instead of room7 have room00007. This way they'd sort in tidier fashion.
Record the action and show it in the summary
At the moment every parse is destroying and rebuilding everything.
Use ansi-escapes codes
However, do not add dependencies to installer!
Should ideally fit in the header, and should be an area where error, warn, and log messages are displayed
A nice to have feature
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.