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
+15
View File
@@ -0,0 +1,15 @@
<script setup lang="ts">
const gameState = defineModel<number[][]>('gameState', {
required: true
})
</script>
<template>
<div id="spielfeld" class="d-flex flex-collum">
<div v-for="row in gameState">
<v-img v-for="field in row" src="./Game/Gamefield/Gamefield.svg" height="100px" width="100px"></v-img>
</div>
</div>
</template>
<style scoped></style>