added a new site and a gamefield component

This commit is contained in:
jhim
2026-02-13 10:20:18 +01:00
committed by Jonas
parent 4dfabb2e1e
commit 8e99bbca0e
12 changed files with 51 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
<script setup lang="ts">
import Field from '@/components/Game/Field.vue';
const gameField = [
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0],
];
</script>
<template>
<Field :game-state="gameField"></Field>
</template>
<style scoped>
</style>