pull/23/head
parent
d2a1edd333
commit
575967a8db
|
@ -19,8 +19,13 @@ if(gameType[0] == "guided-tracing"){
|
|||
gameVersion = gameType[0].split('?')[0];
|
||||
gameId = gameName[4];
|
||||
console.log('Type - 1');
|
||||
} else if(gameName.length == 5){
|
||||
gameVersion = gameName[3];
|
||||
|
||||
} else if(gameName.length == 4){
|
||||
gameVersion = gameName[3].split('?')[0];
|
||||
gameId = urlParams.get('id');
|
||||
}
|
||||
else if(gameName.length == 5){
|
||||
gameVersion = gameName[3] + '-' + gameName[4].split('?')[0];
|
||||
gameId = urlParams.get('id');
|
||||
console.log('Type - 2');
|
||||
}else if(gameName.length == 6){
|
||||
|
@ -29,7 +34,7 @@ if(gameType[0] == "guided-tracing"){
|
|||
console.log('Type - 3');
|
||||
}
|
||||
|
||||
// console.log(gameType[0])
|
||||
console.log(gameVersion)
|
||||
|
||||
function submitUserData(drawingZone) {
|
||||
const endTime = Date.now();
|
||||
|
|
|
@ -31,7 +31,7 @@ import Layout from '../../layouts/Layout.astro';
|
|||
let formattedDateTime;
|
||||
let shortUniqueID;
|
||||
let scoreTotal = 0;
|
||||
|
||||
let maxScore;
|
||||
if(isMobile){
|
||||
topLogoWidth = 4.5;
|
||||
muteIconWidth = 1.8;
|
||||
|
|
|
@ -31,6 +31,7 @@ import Layout from '../../layouts/Layout.astro';
|
|||
let formattedDateTime;
|
||||
let shortUniqueID;
|
||||
let scoreTotal = 0;
|
||||
let maxScore;
|
||||
if(isMobile){
|
||||
topLogoWidth = 4.5;
|
||||
muteIconWidth = 1.8;
|
||||
|
|
|
@ -35,6 +35,7 @@ import Layout from '../../layouts/Layout.astro';
|
|||
let noticeHeight;
|
||||
let muteIcon;
|
||||
let retryButton;
|
||||
let maxScore;
|
||||
if(isMobile){
|
||||
topLogoWidth = 4.5;
|
||||
muteIconWidth = 1.8;
|
||||
|
|
|
@ -39,7 +39,7 @@ import Layout from '../../layouts/Layout.astro';
|
|||
let image2Bottom;
|
||||
let noticeWidth;
|
||||
let noticeHeight;
|
||||
|
||||
let maxScore;
|
||||
if(isMobile){
|
||||
topLogoWidth = 4.5;
|
||||
muteIconWidth = 1.8;
|
||||
|
|
|
@ -31,6 +31,7 @@ import Layout from '../../layouts/Layout.astro';
|
|||
let resetIconWidth;
|
||||
let tickIconWidth;
|
||||
let cancelIconWidth;
|
||||
let maxScore;
|
||||
|
||||
if(isMobile){
|
||||
topLogoWidth = 4.5;
|
||||
|
|
Loading…
Reference in New Issue