up
All checks were successful
Deploy to Production / deploy (push) Successful in 8s

This commit is contained in:
lubukhu
2026-02-04 17:48:07 +07:00
parent 69e4e87842
commit 5a57b85b33
52 changed files with 127 additions and 3280 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Family-G5-U5-L3-1",
"short_name": "Family-G5-U5-L3-1",
"name": "GameSenaSpin",
"short_name": "GameSenaSpin",
"start_url": "index.html",
"display": "fullscreen",
"orientation": "any",

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 MiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1016 KiB

View File

Before

Width:  |  Height:  |  Size: 313 KiB

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Family-G5-U5-L3-1</title>
<title>GameSenaSpin</title>
<!-- Standardised web app manifest -->
<link rel="manifest" href="appmanifest.json" />
@@ -64,7 +64,7 @@
<!-- The canvas the project will render to. If you change its ID, don't forget to change the
ID the runtime looks for in the jQuery events above (ready() and cr_sizeCanvas()). -->
<canvas id="c2canvas" width="1400" height="900">
<canvas id="c2canvas" width="1200" height="1200">
<!-- This text is displayed if the visitor's browser does not support HTML5.
You can change it, but it is a good idea to link to a description of a browser
and provide some links to download some popular HTML5-compatible browsers. -->

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,65 +1,26 @@
{
"version": 1770088038,
"version": 1770201980,
"fileList": [
"data.js",
"c2runtime.js",
"jquery-3.4.1.min.js",
"offlineClient.js",
"images/bg-sheet0.png",
"images/koala_rmbg_-sheet0.png",
"images/khung_thoai3-sheet0.png",
"images/khung_vuong-sheet0.png",
"images/slot-sheet0.png",
"images/no-sheet0.png",
"images/no-sheet1.png",
"images/spritefont.png",
"images/soundon-sheet0.png",
"images/frame-sheet0.png",
"images/spin-sheet0.png",
"images/pen-sheet0.png",
"images/circle-sheet0.png",
"images/txt-sheet0.png",
"images/quit-sheet0.png",
"images/quit2-sheet0.png",
"images/logogame-sheet0.png",
"images/quit3-sheet0.png",
"images/btn_circle-sheet0.png",
"images/logo_senaspin-sheet0.png",
"images/sprite-sheet0.png",
"images/back-sheet0.png",
"images/result-sheet0.png",
"images/result-sheet1.png",
"images/koala-sheet0.png",
"images/eddy-sheet0.png",
"images/eddy_schatbox-sheet0.png",
"images/pic-sheet0.png",
"images/school_khungvuong2-sheet0.png",
"images/khunganh-sheet0.png",
"images/button-sheet0.png",
"images/zoom-sheet0.png",
"images/back2-sheet0.png",
"images/txt_question.png",
"images/btn_setting-sheet0.png",
"images/btn_pause-sheet0.png",
"images/btn_music-sheet0.png",
"images/btn_music-sheet1.png",
"images/panel_pause-sheet0.png",
"images/layer-sheet0.png",
"media/click.m4a",
"images/btn_play-sheet0.png",
"media/click.ogg",
"media/correct.m4a",
"media/correct.ogg",
"media/fail.m4a",
"media/fail.ogg",
"media/sound_bg.m4a",
"media/sound_bg.ogg",
"media/0909.m4a",
"media/0909.ogg",
"media/pop-402324.m4a",
"media/pop-402324.ogg",
"media/correct-156911.ogg",
"media/error-04-199275.ogg",
"media/pop-402324-1.m4a",
"media/successed-295058.ogg",
"media/wrong-answer-129254.ogg",
"media/freepik-jolly-vibes.ogg",
"icon-16.png",
"icon-32.png",
"icon-114.png",

View File

@@ -1,105 +1,105 @@
var tdv_sdk = {};
tdv_sdk.listText = [
{
id : 0,
value : "",
answer: [
{
name: "Green",
isCorrect: 1
},
{
name: "Yellow",
isCorrect: 0
}
],
audio : "https://audio.senaai.vn/audio/en_female_1_i_have_colored_paper_but_i_dont_have_colored_penci.mp3"
},
{
id : 1,
value : "",
answer: [
{
name: "Red",
isCorrect: 1
},
{
name: "Pink",
isCorrect: 0
}
],
audio : "https://audio.senaai.vn/audio/en_female_1_i_have_a_pear_but_i_dont_have_an_apple.mp3"
},
{
id : 2,
value : "",
answer: [
{
name: "Purple",
isCorrect: 1
},
{
name: "Orange",
isCorrect: 0
}
],
audio : "https://audio.senaai.vn/audio/en_female_1_i_have_rulers_but_i_dont_have_erasers.mp3"
},
{
id : 3,
value : "",
answer: [
{
name: "Black",
isCorrect: 1
},
{
name: "Gray",
isCorrect: 0
}
],
audio : "https://audio.senaai.vn/audio/en_female_1_i_have_a_pencil_sharpener_but_i_dont_have_glue.mp3"
}
];
tdv_sdk.index = 0;
tdv_sdk.getQuestion = function() {
tdv_sdk.question = tdv_sdk.listText[tdv_sdk.index];
tdv_sdk.shuffleArray(tdv_sdk.question.answer);
};
tdv_sdk.getQuestionID = function() {
return tdv_sdk.question.id;
};
tdv_sdk.getAnswerNameByIndex = function(index) {
if (tdv_sdk.question && tdv_sdk.question.answer) {
return tdv_sdk.question.answer[index].name;
}
return 0;
};
tdv_sdk.getAnswerCorrectByIndex = function(index) {
if (tdv_sdk.question && tdv_sdk.question.answer) {
return tdv_sdk.question.answer[index].isCorrect;
}
return 0;
};
tdv_sdk.shuffleArray = function(array) {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
}
};
tdv_sdk.nextQuestion = function() {
tdv_sdk.index++;
};
tdv_sdk.getComplete = function() {
return tdv_sdk.index;
}
tdv_sdk.playSound = function() {
if (tdv_sdk.question && tdv_sdk.question.audio) {
const audio = new Audio(tdv_sdk.question.audio);
audio.play();
}
};
tdv_sdk.playIntroSound = function() {
const introAudio = new Audio("https://audio.senaai.vn/audio/en_female_1_spin_the_wheel_what_time_do_you_i_at_oclock.mp3");
introAudio.play();
};
// var tdv_sdk = {};
// tdv_sdk.listText = [
// {
// id : 0,
// value : "",
// answer: [
// {
// name: "Green",
// isCorrect: 1
// },
// {
// name: "Yellow",
// isCorrect: 0
// }
// ],
// audio : "https://audio.senaai.vn/audio/en_female_1_i_have_colored_paper_but_i_dont_have_colored_penci.mp3"
// },
// {
// id : 1,
// value : "",
// answer: [
// {
// name: "Red",
// isCorrect: 1
// },
// {
// name: "Pink",
// isCorrect: 0
// }
// ],
// audio : "https://audio.senaai.vn/audio/en_female_1_i_have_a_pear_but_i_dont_have_an_apple.mp3"
// },
// {
// id : 2,
// value : "",
// answer: [
// {
// name: "Purple",
// isCorrect: 1
// },
// {
// name: "Orange",
// isCorrect: 0
// }
// ],
// audio : "https://audio.senaai.vn/audio/en_female_1_i_have_rulers_but_i_dont_have_erasers.mp3"
// },
// {
// id : 3,
// value : "",
// answer: [
// {
// name: "Black",
// isCorrect: 1
// },
// {
// name: "Gray",
// isCorrect: 0
// }
// ],
// audio : "https://audio.senaai.vn/audio/en_female_1_i_have_a_pencil_sharpener_but_i_dont_have_glue.mp3"
// }
// ];
// tdv_sdk.index = 0;
// tdv_sdk.getQuestion = function() {
// tdv_sdk.question = tdv_sdk.listText[tdv_sdk.index];
// tdv_sdk.shuffleArray(tdv_sdk.question.answer);
// };
// tdv_sdk.getQuestionID = function() {
// return tdv_sdk.question.id;
// };
// tdv_sdk.getAnswerNameByIndex = function(index) {
// if (tdv_sdk.question && tdv_sdk.question.answer) {
// return tdv_sdk.question.answer[index].name;
// }
// return 0;
// };
// tdv_sdk.getAnswerCorrectByIndex = function(index) {
// if (tdv_sdk.question && tdv_sdk.question.answer) {
// return tdv_sdk.question.answer[index].isCorrect;
// }
// return 0;
// };
// tdv_sdk.shuffleArray = function(array) {
// for (let i = array.length - 1; i > 0; i--) {
// const j = Math.floor(Math.random() * (i + 1));
// [array[i], array[j]] = [array[j], array[i]];
// }
// };
// tdv_sdk.nextQuestion = function() {
// tdv_sdk.index++;
// };
// tdv_sdk.getComplete = function() {
// return tdv_sdk.index;
// }
// tdv_sdk.playSound = function() {
// if (tdv_sdk.question && tdv_sdk.question.audio) {
// const audio = new Audio(tdv_sdk.question.audio);
// audio.play();
// }
// };
// tdv_sdk.playIntroSound = function() {
// const introAudio = new Audio("https://audio.senaai.vn/audio/en_female_1_spin_the_wheel_what_time_do_you_i_at_oclock.mp3");
// introAudio.play();
// };

Binary file not shown.