- Extract button creation and destruction into `_createStagingButtons` and `_destroyStagingButtons`. - Ensure buttons are properly destroyed when staging is cleared, submitted, or when turn conditions change. - Prevent memory leaks and stale UI state by centralizing button lifecycle management. - Add piece click sound effect in Backgammon on landing. |
||
|---|---|---|
| .. | ||
| assets | ||
| data | ||
| src | ||
| index.html | ||
| styles.css | ||