-
Notifications
You must be signed in to change notification settings - Fork 18
Create New Game v7
- status: complete
- version: 7.x
- follows from: Getting Started
Inside your nodegame installation folder type:
cd bin
node nodegame create-game gamename
and answer the questions on screen to choose between the two standard game templates are available:
- Single-Player (Guessing Game),
- Multi-Player (Dictator Game).
As a result, a new game folder named gamename will be created under the nodeGame installation directory in the games_available/
folder with a link inside the games/
folder. The new directory will contain all the necessary files that you can then modify to suit your needs.
Note: The difference between games/folder and games_available/ folder is the following:
- Only the games in the
games/
folder are loaded by the server. When you have many games, but only some should be active (that is: playable), you may keep the games you don't want to be active ingames_available
. This terminology derives from how the Apache server handles multiple web sites. If it sounds confusing to you, you may think of games as "games_enabled".
After you have created your first game, some of the information provided (e.g., name and email used in copyright statement) is stored locally.
To show:
node nodegame show-conf
To update:
node nodegame update-conf
Go back to the wiki Home.
Copyright (C) 2021 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.