Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound not playing when making moves or capturing pieces in chess game #2

Open
martinvalentine opened this issue Apr 25, 2023 · 0 comments

Comments

@martinvalentine
Copy link

I have noticed that when I move a chess piece in the game, I do not hear any sound effect, which makes it difficult to know whether the move was successful or not. Additionally, when I capture my opponent's chess piece, there is no sound effect to indicate that I have made a capture. The same issue occurs when I checkmate my opponent or when a draw occurs - no sound effect is played.

Steps to reproduce:

  1. Launch the chess game.
  2. Make a move by selecting a chess piece and dragging it to a new position.
  3. Observe that no sound effect is played.
  4. Capture your opponent's chess piece.
  5. Observe that no sound effect is played.
  6. Checkmate your opponent or force a draw.
  7. Observe that no sound effect is played.

Expected behavior:

When making moves or capturing pieces in the chess game, a sound effect should play to indicate that the action was successful. This will make it easier for players to know when they have successfully executed a move, captured a piece, or achieved checkmate.

Actual behavior:

No sound effect is played when making moves, capturing pieces, or achieving checkmate or a draw.

Possible solution:

One possible solution could be to add sound effects to the chess game for each type of move or action. This could be implemented by integrating an audio library into the game's code and adding sound effects to the relevant functions. Alternatively, if the audio library is already integrated, the problem could be related to an issue with the sound settings or audio files themselves.

Environment:

  • Operating system: Windows 10
  • Interface: On Java GUI
  • Chess game version: Beta version 1.0

Additional information:

I have tested the game on multiple devices and browsers, but the issue persists. I have also checked my device's sound settings, and they are functioning correctly for other applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant