Files
battle-royal-tetris/public/js
jozamudi 4a49c76cdc Add hold piece feature
- Added holdPiece and canHold state to TetrisGame class
- Implemented hold() method to swap current piece with held piece
- Added player-hold socket event on server
- Added HOLD preview canvas showing held piece (grayed when unavailable)
- Added C key keyboard shortcut and touch button for hold
- Fixed canHold reset on piece spawn for proper swap functionality

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 08:50:52 -07:00
..
2026-03-20 08:50:52 -07:00
2026-03-20 08:50:52 -07:00
2026-03-20 08:50:52 -07:00
2026-03-20 08:50:52 -07:00