Skip to content

Commit

Permalink
delete new libarary
Browse files Browse the repository at this point in the history
  • Loading branch information
Salman-18 committed Dec 25, 2023
1 parent cbc0832 commit 103bcc1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Chess_Board/src/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from sound import Sound
import copy
from check import Check
import os



class Board:
Expand Down Expand Up @@ -36,8 +36,7 @@ def move(self, piece, move, testing=False):
self.squares[initial.row][initial.col + diff].piece = None
self.squares[final.row][final.col].piece = piece
if not testing:
sound = Sound(
os.path.join('../assets/sounds/capture.wav'))
sound = Sound("D:/chess game with AI/src/assets/sounds/capture.wav")
sound.play()

# pawn promotion
Expand Down

0 comments on commit 103bcc1

Please sign in to comment.