btouellette / concarneau

Multiplayer web game using the same rules as Carcassone
MIT License
65 stars 10 forks source link

Sound when my turn. #14

Closed Ud71p closed 7 years ago

Ud71p commented 7 years ago

Some players may take long time to make a move. Sometimes they're even away for a while. I know there is currently an exclamation mark on tab title for that, but I often miss that. For instance if I have many tabs open, and I switch to another, I cannot see the title of the game tab anymore, only the icon. If I have really many tabs, then even the icon disappears.

It would really help if the game made a sound when it's my move again.

btouellette commented 7 years ago

Added option for this in c3753798300afe8fb881b7c2e82e237fa9927e69. You can find a new setting to enable it in the settings menu.

btouellette commented 7 years ago

Not working from a background tab unless the first notification comes in while the tab is active in Chrome. FF should be the same. I'll see if I can add a workaround.

btouellette commented 7 years ago

Working from background tab as of 6a8006146c2efcd8108cd54a686d2c0f7dfb27e5