diff --git a/client/src/lib/view/game/scene.svelte b/client/src/lib/view/game/scene.svelte index abef2ef..3c098be 100644 --- a/client/src/lib/view/game/scene.svelte +++ b/client/src/lib/view/game/scene.svelte @@ -20,9 +20,14 @@ function decreaseLives() { $connection!.setLives($gameData!.lives - 1); } + function keydown(e: KeyboardEvent) { + if(e.key === "KeyT") { + increaseScore(); + } + } - + \ No newline at end of file