|
@@ -50,10 +50,10 @@ function getAnswer() {
|
|
gameOperation +
|
|
gameOperation +
|
|
'\ngameDifficulty:' +
|
|
'\ngameDifficulty:' +
|
|
gameDifficulty +
|
|
gameDifficulty +
|
|
- '\nshowFractions:' +
|
|
|
|
- showFractions +
|
|
|
|
'\ngameId:' +
|
|
'\ngameId:' +
|
|
gameId +
|
|
gameId +
|
|
|
|
+ '\nshowFractions:' +
|
|
|
|
+ showFractions +
|
|
'\nresults:';
|
|
'\nresults:';
|
|
for (let i = 0; i < moodleVar.hits.length; i++) {
|
|
for (let i = 0; i < moodleVar.hits.length; i++) {
|
|
str +=
|
|
str +=
|
|
@@ -88,10 +88,10 @@ function getAnswer() {
|
|
gameOperation +
|
|
gameOperation +
|
|
'\ngameDifficulty:' +
|
|
'\ngameDifficulty:' +
|
|
gameDifficulty +
|
|
gameDifficulty +
|
|
- '\nshowFractions:' +
|
|
|
|
- showFractions +
|
|
|
|
'\ngameId:' +
|
|
'\ngameId:' +
|
|
- gameId;
|
|
|
|
|
|
+ gameId +
|
|
|
|
+ '\nshowFractions:' +
|
|
|
|
+ showFractions;
|
|
}
|
|
}
|
|
|
|
|
|
return str;
|
|
return str;
|
|
@@ -264,7 +264,6 @@ const updateGlobalVariables = function (infoGame, infoResults) {
|
|
gameId = 0;
|
|
gameId = 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
gameShape = infoGame['gameShape'];
|
|
gameShape = infoGame['gameShape'];
|
|
gameMode = infoGame['gameMode'];
|
|
gameMode = infoGame['gameMode'];
|
|
gameOperation = infoGame['gameOperation'];
|
|
gameOperation = infoGame['gameOperation'];
|