added reward checking

This commit is contained in:
Saw, Hansly Kendrich 2022-09-15 18:16:09 +08:00
parent 71665f6984
commit f03997c4a4
6 changed files with 90 additions and 18 deletions

View file

@ -3,7 +3,7 @@
let soundEffects = {
'ding': new Audio('media/ding.mp4'),
'fallout': new Audio('media/Shells_falls-Marcel-829263474.mp3'),
'hit': new Audio('media/Shells_falls-Marcel-829263474.mp3'),
'tada': new Audio('media/tada.mp3')
}
@ -14,3 +14,10 @@ function app_dice_appearanceToggle(setting = true) {
$('.dice').addClass("scale-out");
}
};
function app_about_appearanceToggle() {
let aboutMessage = (app.name.toUpperCase() + ': ' + app.description + '\n\n' + 'Maintained by ' + app.authors + '.\n' + 'Source code available at: ' + app.sourcecode);
console.log(aboutMessage);
alert(aboutMessage);
}