diff --git a/__resource.lua b/__resource.lua
index 899f6147..b4aa6979 100644
--- a/__resource.lua
+++ b/__resource.lua
@@ -28,7 +28,6 @@ files {
'html/ui.html',
'html/logo.png',
'html/dmv.png',
- 'html/cursor.png',
'html/styles.css',
'html/questions.js',
'html/scripts.js',
diff --git a/html/badge.png b/html/badge.png
deleted file mode 100644
index 0f365628..00000000
Binary files a/html/badge.png and /dev/null differ
diff --git a/html/cursor.png b/html/cursor.png
deleted file mode 100644
index d36ad801..00000000
Binary files a/html/cursor.png and /dev/null differ
diff --git a/html/scripts.js b/html/scripts.js
index 6b56f4e4..e68ea08f 100644
--- a/html/scripts.js
+++ b/html/scripts.js
@@ -1,18 +1,11 @@
-// Mouse Controls
-var documentWidth = document.documentElement.clientWidth;
-var documentHeight = document.documentElement.clientHeight;
-var cursor = $('#cursor');
-var cursorX = documentWidth / 2;
-var cursorY = documentHeight / 2;
-
-//question variables
+// question variables
var questionNumber = 1;
var userAnswer = [];
var goodAnswer = [];
var questionUsed = [];
var nbQuestionToAnswer = 10; // don't forget to change the progress bar max value in html
-var nbAnswerNeeded = 1; // out of nbQuestionToAnswer
-var nbPossibleQuestions = 10; //number of questions in database questions.js
+var nbAnswerNeeded = 5; // out of nbQuestionToAnswer
+var nbPossibleQuestions = 10; // number of questions in database questions.js
var lastClick = 0;
function getRandomQuestion() {
@@ -62,11 +55,9 @@ function openResultBad() {
}
function openContainer() {
$(".question-container").css("display", "block");
- $("#cursor").css("display", "block");
}
function closeContainer() {
$(".question-container").css("display", "none");
- $("#cursor").css("display", "none");
}
// Listen for NUI Events
diff --git a/html/styles.css b/html/styles.css
index 4b6a8e51..4653f29a 100644
--- a/html/styles.css
+++ b/html/styles.css
@@ -3,12 +3,6 @@ html {
font-family: 'Open Sans', sans-serif;
}
-#cursor {
- position: absolute;
- z-index: 99999999;
- display: none;
-}
-
.full-screen {
width: 100%;
height:100%;
diff --git a/html/ui.html b/html/ui.html
index 53446a50..e0f8dcd0 100644
--- a/html/ui.html
+++ b/html/ui.html
@@ -95,8 +95,4 @@
-