Skip to content

Commit

Permalink
chore: Update game board and UI background image paths
Browse files Browse the repository at this point in the history
- Updated the image paths for the game board and UI background images to reflect the new directory structure.
- The game board image path is now "/img/game/default-game-board.png".
- The UI background image path is now "/img/game/wood-texture.jpg".
  • Loading branch information
TKanX committed Aug 17, 2024
1 parent ec63aff commit 4d7251b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion public/js/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ class Game {
this.renderer = new GameRenderer(
[],
document.getElementById("game-canvas"),
"/img/default-game-board.png"
"/img/game/default-game-board.png"
);
}

Expand Down
2 changes: 1 addition & 1 deletion views/pages/game.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
const roomId = gameParameters.get("roomId") || null;
// Create a new game ui instance
const gameUI = new GameUI("/img/wood-texture.jpg");
const gameUI = new GameUI("/img/game/wood-texture.jpg");
// Create a new game network instance
const gameNetwork = new GameNetwork(app.serverUrl);
Expand Down

0 comments on commit 4d7251b

Please sign in to comment.