added a new site and a gamefield component
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user