dice function now on the website

- jQuery was added to make this work.
- Cards were removed.
This commit is contained in:
Saw, Hansly Kendrich 2022-09-15 11:20:54 +08:00
parent 1d16cfc44b
commit ab638b152c
158 changed files with 69420 additions and 47 deletions

View file

@ -1,5 +1,16 @@
/* interface.js
script for the interface */
let soundEffects = {
'ding': new Audio('media/ding.mp4'),
'fallout': new Audio('media/Shells_falls-Marcel-829263474.mp3'),
'tada': new Audio('media/tada.mp3')
}
function app_dice_appearanceToggle(setting = true) {
if (setting) {
$('.dice').removeClass("scale-out");
} else {
$('.dice').addClass("scale-out");
}
};