feat: first MVP
This commit is contained in:
22
src/lib/GameCommands.svelte
Normal file
22
src/lib/GameCommands.svelte
Normal file
@ -0,0 +1,22 @@
|
||||
<script lang="ts">
|
||||
const { onClick } = $props();
|
||||
</script>
|
||||
|
||||
<div class="flex justify-center space-x-2">
|
||||
<button
|
||||
class="cursor-pointer rounded-full bg-cyan-500 px-4 py-2 text-sm text-white"
|
||||
onclick={() => onClick('reset')}>Reset</button
|
||||
>
|
||||
<button
|
||||
class="cursor-pointer rounded-full bg-cyan-500 px-4 py-2 text-sm text-white"
|
||||
onclick={() => onClick('easy')}>Easy</button
|
||||
>
|
||||
<button
|
||||
class="cursor-pointer rounded-full bg-cyan-500 px-4 py-2 text-sm text-white"
|
||||
onclick={() => onClick('medium')}>Medium</button
|
||||
>
|
||||
<button
|
||||
class="cursor-pointer rounded-full bg-cyan-500 px-4 py-2 text-sm text-white"
|
||||
onclick={() => onClick('hard')}>Hard</button
|
||||
>
|
||||
</div>
|
Reference in New Issue
Block a user