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

This commit is contained in:
lubukhu
2026-01-30 19:14:09 +07:00
parent ead63a6190
commit 797ad5488e
24 changed files with 11 additions and 12 deletions

View File

@@ -24552,6 +24552,8 @@ cr.getObjectRefTable = function () { return [
cr.plugins_.Arr.prototype.acts.SetSize, cr.plugins_.Arr.prototype.acts.SetSize,
cr.plugins_.Sprite.prototype.acts.LoadURL, cr.plugins_.Sprite.prototype.acts.LoadURL,
cr.plugins_.Browser.prototype.exps.ExecJS, cr.plugins_.Browser.prototype.exps.ExecJS,
cr.plugins_.Sprite.prototype.acts.SetVisible,
cr.plugins_.Sprite.prototype.acts.SetScale,
cr.plugins_.Sprite.prototype.acts.SetEffectEnabled, cr.plugins_.Sprite.prototype.acts.SetEffectEnabled,
cr.system_object.prototype.cnds.While, cr.system_object.prototype.cnds.While,
cr.plugins_.Arr.prototype.cnds.Contains, cr.plugins_.Arr.prototype.cnds.Contains,

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,11 @@
[ [
{ {
"name": "Chung cake", "name": "Chung cake",
"image": "chungcake.png" "image": "Chung cake.png"
}, },
{ {
"name": "lucky money", "name": "lucky money",
"image": "luckymoney.png" "image": "lucky money.png"
}, },
{ {
"name": "flowers", "name": "flowers",
@@ -13,6 +13,6 @@
}, },
{ {
"name": "lion dance", "name": "lion dance",
"image": "lionance.png" "image": "lion dance.png"
} }
] ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

BIN
RCV_QuizSpin2/media/bgc.ogg Normal file

Binary file not shown.

View File

@@ -1,5 +1,5 @@
{ {
"version": 1769772743, "version": 1769775171,
"fileList": [ "fileList": [
"data.js", "data.js",
"c2runtime.js", "c2runtime.js",
@@ -25,6 +25,7 @@
"media/error-010-206498.ogg", "media/error-010-206498.ogg",
"media/yeah.ogg", "media/yeah.ogg",
"media/material-buy-success-394517_boosted.ogg", "media/material-buy-success-394517_boosted.ogg",
"media/bgc.ogg",
"icon-16.png", "icon-16.png",
"icon-32.png", "icon-32.png",
"icon-114.png", "icon-114.png",
@@ -33,8 +34,8 @@
"loading-logo.png", "loading-logo.png",
"chung cake.png", "chung cake.png",
"lucky money.png", "lucky money.png",
"lion dance.png",
"flowers.png", "flowers.png",
"lion dance.png",
"tdv_sdk.js", "tdv_sdk.js",
"data.json" "data.json"
] ]

View File

@@ -21,10 +21,7 @@ function getRandomQuestion() {
const shuffled = [...data].sort(() => 0.5 - Math.random()); const shuffled = [...data].sort(() => 0.5 - Math.random());
// Lấy 4 con đầu tiên // Lấy 4 con đầu tiên
const options = shuffled.slice(0, 3).map(item => ({ const options = shuffled.slice(0, 3);
...item,
image: getImage(item.image)
}));
// Chọn 1 trong 4 làm đáp án đúng // Chọn 1 trong 4 làm đáp án đúng
const correct = options[Math.floor(Math.random() * options.length)]; const correct = options[Math.floor(Math.random() * options.length)];
@@ -36,7 +33,6 @@ function getRandomQuestion() {
return window.items; return window.items;
} }
function voiceItem(name){ function voiceItem(name){
const newAudio = new Audio(); const newAudio = new Audio();
newAudio.src = "https://audio.senaai.vn/audio/en_female_1_"+name.toLowerCase()+".mp3"; newAudio.src = "https://audio.senaai.vn/audio/en_female_1_"+name.toLowerCase()+".mp3";
@@ -47,5 +43,5 @@ function voiceItem(name){
function getImage(name) { function getImage(name) {
return "https://senaai.tech/games/RCV-QuizSpin2/" + name; return "https://senaai.tech/games/RCV_QuizSpin2/" + name;
} }