Compare commits

..

No commits in common. "0d4ab27be8f45c83eb3969dfd1e440dfba434253" and "2f29d13432cf8ffa39d59dd6dc0f1ce49134dcdc" have entirely different histories.

11 changed files with 11 additions and 22 deletions

View File

@ -105,13 +105,12 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let gameData = null;
let totalPoints = 0;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let wrongCount = 0;
let starValue;
let maxStarValue = 5;

View File

@ -123,11 +123,10 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let totalPoints = 0;
let wrongCount = 0;
let starValue;

View File

@ -105,12 +105,11 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let gameData = null;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let totalPoints = 0;
let wrongCount = 0;
let starValue;

View File

@ -118,12 +118,11 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let wrongCount = 0;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let maxPoint = 9;
let starValue;
let totalPoints = 0;

View File

@ -93,14 +93,13 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let gameData = null;
let totalPoints = 0;
let starValue;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let maxStarValue = 5;
let progress = 0;
const progressBar = document.createElement('div');

View File

@ -117,7 +117,6 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let gameData = null;
let wrongCount = 0;
@ -125,7 +124,7 @@ import Layout from "../../layouts/Layout.astro";
let totalPoints = 0;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let maxStarValue = 5;
let progress = 0;
const progressBar = document.createElement('div');

View File

@ -141,11 +141,10 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let wrongCount = 0;
let starValue;
let totalPoints = 0;

View File

@ -99,13 +99,12 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let gameData = null;
let starValue;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let totalPoints = 0;
let maxStarValue = 5;
let progress = 0;

View File

@ -114,13 +114,12 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let gameData = null;
let totalPoints = 0;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let wrongCount = 0;
let starValue;
let maxStarValue = 5;

View File

@ -140,13 +140,12 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let wrongCount = 0;
let starValue;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let maxStarValue = 5;
let progress = 0;
const progressBar = document.createElement('div');

View File

@ -99,13 +99,12 @@ import Layout from "../../layouts/Layout.astro";
const params = new URLSearchParams(window.location.search);
const gameId = params.get('id');
const userId = params.get('userId');
const gameName = params.get('gameName');
let startTime = Date.now();
let gameData = null;
let starValue;
let url = window.location.href;
let urlSplit = url.split('/');
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
let totalPoints = 0;
let maxStarValue = 5;
let progress = 0;