Play a sound when certain events occur. Examples:
That a great idea , hope to see it soon
In my own experience, the most crucial of all the sounds seems to be when it is your turn in a multiplayer game



The HTML5 WebAudioAPIs are wonderful, not required any *.mp3 or *.wav , avoid taking up too much network traffic
@jijiqw Do you want to try adding one sound as a proof of concept?
Looks like this is partially implemented. I personally would like a small ding with every log message. Is anyone looking at this?
@kberg We can close this issue for now. I like having more sounds too (e.g. different types of tile placement sounds) but it's a bigger task to add those as the client is currently stateless
How does statefulness play into this? Maybe it's because I'm interested in
a specific subset of changse that I don't see why that matters.
>
@kberg Possibly. It depends on which sound(s) you want to add and where. Feel free to take a stab at it if you have a specific sound and use case in mind. We can probably keep all the sounds in one file and under the same "Enable sounds" toggle for now since there will probably be at most 2-3 of them 👍
@nwai90 Why not add event listeners to relevant DOM changes, which can then trigger sounds?
Based on how people voted in #dev-topics, starting with adding these sounds seems wise:
We can always add more later.
Most helpful comment
In my own experience, the most crucial of all the sounds seems to be when it is your turn in a multiplayer game