Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add method to show player disconnected in GameUI
- Added the `showPlayerDisconnected` method to the `GameUI` class in `game.js`. - This method is responsible for displaying a disconnected player in the UI by applying a grayscale filter to their avatar image. - The method takes the player ID as a parameter and retrieves the corresponding player element and avatar image. - This enhancement improves the visual representation of disconnected players in the game UI.
- Loading branch information