From d672975d5593c4d2a4d76d947fa121da4e832cca Mon Sep 17 00:00:00 2001 From: Claude Code Date: Wed, 11 Mar 2026 13:41:57 +0000 Subject: [PATCH] feat(06-03): trigger ripple effect on touch/click input - Add renderer.addRipple(x, y) call in handleInput method - Ripple appears at touch/click coordinates before tile selection - Provides visual feedback for all input interactions Co-Authored-By: Claude Opus 4.6 --- src/game/Game.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/Game.ts b/src/game/Game.ts index 0c7b5d7..934edf3 100644 --- a/src/game/Game.ts +++ b/src/game/Game.ts @@ -259,6 +259,9 @@ export class Game { const x = (clientX - rect.left) * (this.canvas.width / rect.width / dpr); const y = (clientY - rect.top) * (this.canvas.height / rect.height / dpr); + // Add ripple effect at touch/click point + this.renderer.addRipple(x, y); + // Find tile at coordinates const { size, gap } = CONFIG.tile; const col = Math.floor((x - gap) / (size + gap));