pacosako icon indicating copy to clipboard operation
pacosako copied to clipboard

Play sounds when placing pieces on the board

Open kreibaum opened this issue 4 years ago • 2 comments

This can't be done in pure elm, you'll need to use a port and play the sound in javascript. We also need to decide what kind of sounds we want and find (or produce) free sound assets for this.

What kind of sounds do we need?

  • [x] Placing a piece or union on an empty square
  • [ ] Forming a union
  • [ ] Taking over a union
  • [ ] Promoting a piece
  • [ ] Game over sound
  • [ ] Restart move

kreibaum avatar Jul 17 '20 21:07 kreibaum

Currently sounds only play when you place it, not when you get the info from a websocket. That isn't good.

kreibaum avatar Nov 25 '20 20:11 kreibaum

I would love for someone to pick appropriate open sounds for all these cases. That's why I added the help wanted flag. You don't have to actually implement this ;-)

kreibaum avatar May 21 '22 10:05 kreibaum