We will apply the React 360 concepts, and use the game data structure to implement the game features by updating the code in index.js and client.js. For a working version, we will start with the state initialized using the sample game data from the previous section.
/MERNVR/index.js:
export default class MERNVR extends React.Component { constructor() { super() this.state = { game: sampleGameData ... } }...}