diff --git a/src/main/client/public/1.wav b/src/main/client/public/1.wav new file mode 100644 index 0000000..655c15e Binary files /dev/null and b/src/main/client/public/1.wav differ diff --git a/src/main/client/public/2.wav b/src/main/client/public/2.wav new file mode 100644 index 0000000..639f1f0 Binary files /dev/null and b/src/main/client/public/2.wav differ diff --git a/src/main/client/public/3.wav b/src/main/client/public/3.wav new file mode 100644 index 0000000..e60177c Binary files /dev/null and b/src/main/client/public/3.wav differ diff --git a/src/main/client/public/4.wav b/src/main/client/public/4.wav new file mode 100644 index 0000000..63d37db Binary files /dev/null and b/src/main/client/public/4.wav differ diff --git a/src/main/client/public/5.wav b/src/main/client/public/5.wav new file mode 100644 index 0000000..c2f3fb1 Binary files /dev/null and b/src/main/client/public/5.wav differ diff --git a/src/main/client/public/6.wav b/src/main/client/public/6.wav new file mode 100644 index 0000000..b05b48d Binary files /dev/null and b/src/main/client/public/6.wav differ diff --git a/src/main/client/public/7.wav b/src/main/client/public/7.wav new file mode 100644 index 0000000..9a780d0 Binary files /dev/null and b/src/main/client/public/7.wav differ diff --git a/src/main/client/public/8.wav b/src/main/client/public/8.wav new file mode 100644 index 0000000..339435a Binary files /dev/null and b/src/main/client/public/8.wav differ diff --git a/src/main/client/public/9.wav b/src/main/client/public/9.wav new file mode 100644 index 0000000..5491330 Binary files /dev/null and b/src/main/client/public/9.wav differ diff --git a/src/main/client/src/feature/game/Game.jsx b/src/main/client/src/feature/game/Game.jsx index 4ed9bba..2eef1c9 100644 --- a/src/main/client/src/feature/game/Game.jsx +++ b/src/main/client/src/feature/game/Game.jsx @@ -153,7 +153,7 @@ function Board({gameState, setGameState}) { } if (!howler.current) { howler.current = new Howl({ - src: ["/app/stone1.wav"], + src: [base + "/stone1.wav"], onloaderror: (id, error) => { throw new Error(id + ": " + error) }, diff --git a/src/main/client/src/feature/lobby/OpenGames.jsx b/src/main/client/src/feature/lobby/OpenGames.jsx index c2f89d6..e7459f7 100644 --- a/src/main/client/src/feature/lobby/OpenGames.jsx +++ b/src/main/client/src/feature/lobby/OpenGames.jsx @@ -124,7 +124,7 @@ function OpenGame({game, onClick}) { function ChallengeDialog({lobbyState, setLobbyState, acceptableGame, acceptDialogRef}) { let [isFlip, setFlip] = useState(false) - let [handi, setHandi] = useState(1) + let [handicap, setHandicap] = useState(1) let auth = useAuthStore(state => state.auth) let zAccept = getZindex(lobbyState, "accept") return ( @@ -140,7 +140,7 @@ function ChallengeDialog({lobbyState, setLobbyState, acceptableGame, acceptDialo body: JSON.stringify({ game: acceptableGame?.game, flip: isFlip, - handicap: handi === 1 ? 0 : handi, + handicap: handicap === 1 ? 0 : handicap, }), }) setLobbyState(closeLobbyPopup(lobbyState)) @@ -169,19 +169,19 @@ function ChallengeDialog({lobbyState, setLobbyState, acceptableGame, acceptDialo