tridecco / game-client-web

Tridecco Game Client is a frontend application designed to support Tridecco games. It provides user interface rendering, user interaction handling, dynamic content loading, and communication with the backend server.
https://play.tridecco.com
GNU Affero General Public License v3.0
1 stars 0 forks source link

Optimize Game Phase Text Color and Resolve Board Click Blocking Issue #26

Closed TKanX closed 1 month ago

TKanX commented 1 month ago

Description:

The current game phase text (e.g., "Round Start," "Player Turn," etc.) overlaps with the game board and may obscure the clickable areas of the board, causing interaction issues. Additionally, the color of the game phase text may not always be clear, leading to visibility problems on certain backgrounds. This issue focuses on optimizing the text color for better readability and ensuring that the text does not block any interactions with the game board.

Objectives:

  1. Text Color Optimization:
  1. Resolve Board Click Blocking:
TKanX commented 1 month ago

Added pointer-events-none to #game-phase to prevent blocking game canvas clicks

https://github.com/tridecco/game-client-web/commit/db66e2ec4a8a6d61f2f0c51ed2bb468d1fb005a0

TKanX commented 1 month ago

Added white text shadow to #game-phase for better visibility

https://github.com/tridecco/game-client-web/commit/5ef168886323ba0d0980687e403f87638321b521