April 2020
Intermediate to advanced
716 pages
18h 55m
English
The game schema, which defines the game model with a structure for the game data, will specify the fields to store details about each game. These details will include a game name; a link for the game world image file, text description, or clue; arrays containing details of 3D objects in the game, timestamps indicating when the game was created or updated; and a reference to the user who created the game. The schema for the game model will be defined in server/models/game.model.js, and the code defining these game fields is given in the following list, with explanations:
name: { type: ...Read now
Unlock full access