Send animation triggers on win/loss/draw
This commit is contained in:
parent
e7221390f3
commit
f6b64fc569
4 changed files with 16 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const animations = {};
|
||||
// animations['victory'] = TODO: implement victory animation
|
||||
// animations['defeat'] = TODO: implement defeat animation
|
||||
// animations['black-victory'] = TODO: implement black victory animation
|
||||
// animations['white-victory'] = TODO: implement white victory animation
|
||||
// animations['draw'] = TODO: implement draw animation
|
||||
|
||||
document.addEventListener('htmx:wsAfterMessage', function (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue