Compare commits
8 Commits
b4
...
2f29d13432
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f29d13432 | |||
| 9c4e7f184d | |||
| 3e0a99a42b | |||
| 6e46901c90 | |||
| 2ef1814ffe | |||
| bde9907774 | |||
| 275e3c1b2b | |||
| 386c8f7116 |
@@ -105,13 +105,12 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let gameData = null;
|
let gameData = null;
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
let starValue;
|
let starValue;
|
||||||
let maxStarValue = 5;
|
let maxStarValue = 5;
|
||||||
|
|||||||
@@ -123,11 +123,10 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
let starValue;
|
let starValue;
|
||||||
|
|||||||
@@ -105,12 +105,11 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let gameData = null;
|
let gameData = null;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
let starValue;
|
let starValue;
|
||||||
|
|||||||
@@ -118,12 +118,11 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let maxPoint = 9;
|
let maxPoint = 9;
|
||||||
let starValue;
|
let starValue;
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
|
|||||||
@@ -93,14 +93,13 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let gameData = null;
|
let gameData = null;
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let starValue;
|
let starValue;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let maxStarValue = 5;
|
let maxStarValue = 5;
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
const progressBar = document.createElement('div');
|
const progressBar = document.createElement('div');
|
||||||
|
|||||||
@@ -117,7 +117,6 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let gameData = null;
|
let gameData = null;
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
@@ -125,7 +124,7 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let maxStarValue = 5;
|
let maxStarValue = 5;
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
const progressBar = document.createElement('div');
|
const progressBar = document.createElement('div');
|
||||||
|
|||||||
@@ -141,11 +141,10 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
let starValue;
|
let starValue;
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
|
|||||||
@@ -99,13 +99,12 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let gameData = null;
|
let gameData = null;
|
||||||
let starValue;
|
let starValue;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let maxStarValue = 5;
|
let maxStarValue = 5;
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
|
|||||||
@@ -114,13 +114,12 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let gameData = null;
|
let gameData = null;
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
let starValue;
|
let starValue;
|
||||||
let maxStarValue = 5;
|
let maxStarValue = 5;
|
||||||
|
|||||||
@@ -140,13 +140,12 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let wrongCount = 0;
|
let wrongCount = 0;
|
||||||
let starValue;
|
let starValue;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let maxStarValue = 5;
|
let maxStarValue = 5;
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
const progressBar = document.createElement('div');
|
const progressBar = document.createElement('div');
|
||||||
|
|||||||
@@ -99,13 +99,12 @@ import Layout from "../../layouts/Layout.astro";
|
|||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
const gameId = params.get('id');
|
const gameId = params.get('id');
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
const gameName = params.get('gameName');
|
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
let gameData = null;
|
let gameData = null;
|
||||||
let starValue;
|
let starValue;
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let urlSplit = url.split('/');
|
let urlSplit = url.split('/');
|
||||||
// let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
let gameName = urlSplit[3] + '-' + urlSplit[4].split('?')[0];
|
||||||
let totalPoints = 0;
|
let totalPoints = 0;
|
||||||
let maxStarValue = 5;
|
let maxStarValue = 5;
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user