diff --git a/package-lock.json b/package-lock.json index c7e0bb8..2cbe393 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jeopardyserver", - "version": "1.0.4", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jeopardyserver", - "version": "1.0.4", + "version": "2.0.0", "license": "ISC", "dependencies": { "@types/express": "^5.0.3", diff --git a/package.json b/package.json index 8d59cdf..a724d91 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jeopardyserver", - "version": "1.0.4", + "version": "2.0.0", "description": "", "license": "ISC", "author": "", diff --git a/src/games.js b/src/games.js index c8d3732..4bd6c0a 100644 --- a/src/games.js +++ b/src/games.js @@ -493,10 +493,17 @@ async function createWall(req, res) { let newQuestions = []; - for (let id = 0; id < 25; id++) { - newQuestions.push( - createSimpleQuestion(-1, 'Frage', 'Antwort', req.user._id), - ); + for (let id = 1; id <= 5; id++) { + for (let j = 1; j <= 5; j++) { + newQuestions.push( + createSimpleQuestion( + j * -100, + 'Frage', + 'Antwort', + req.user._id, + ), + ); + } } cQuestions