Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New Features v4
- status: complete
- version: 4.x
Top 10 New features in nodeGame 4.x
Home Page: all available games are displayed in a grid of responsive cards in the home page. Customize display of games specifying the
cardproperty in the package.json file inside the game folder.
Overhauled User Interface: New game interface with slim header occupying less space.
InfoPanel: customizable drop-down panel to easily display and hide information under the header.
New Widgets and New Widgets Features:
- EndScreen: displays information such as earnings, exit code, feedback and email forms.
- Feedback: collect feedback (compatible as Choice-Like widget).
- EmailForm`: widget (compatible as Choice-Like widget).
New Widget features:
#Widget.removeFrame()display/remove the border and
margins around the bodyDiv element of the widget. This way it is easier to compose nested widgets.
framecan be passed as an option to the
#node.widgets.append()method and if FALSE it behaves like
- All texts and sounds used by widgets can be easily modified via
- New WaitingRoom widget options:
PAGE_TITLEsets page title,
ALLOW_PLAY_WITH_BOTSadds a button to the waiting room to fill empty slots with bot players and start the game
SOUNDS.dispatchsound can be disabled passing
Wait Screen Countdown: a countdown is displayed in the gray wait screen after a player is done with current step. This way, he or she knows exactly what is the maximum waiting time.
Compute User Bonus:
#GameRoom.computeBonus()can be used to save a bonus file and send earned bonus to each player. It integrates with widget
EndScreenfor easy visualization for end of game parameters.
New Channel Settings:
roomOwnDataDir: controls if every new room gets a nested data dir,
roomCounter: sets the initial room counter,
roomCounterChars: adds a padding in front of the room counter.
noAuthToken: even when authorization is disabled it is possible to set an authorization cookie to avoid multiple connections from same browser, making also reconnections possible.
Streamlined Client Types: Declaration of client types is a bit easier. No need to return a client type object, it is now automatically assembled from the stager and and the setup object.
Treatment Settings in Views: Views receive the correct settings object depending on treatment. However, if authorization is off, it requires enabling option noAuthCookie in the channel configuration.
New Matcher Features: two additional options:
connectBotmethod with more options.
- Step property
frameoption can now be also a callback function.
- Improved logging stream.
- Updated monitor interface: kick player and connect bots buttons.
- Using SASS for nodegame.css.
- Bug fixes.
- Stefano Balietti email@example.com
- Ewen Wang firstname.lastname@example.org
- Michael Yang email@example.com
- Don Morrison firstname.lastname@example.org
Next: Migrating to v.4