diff --git a/GUI/public/Game/Chips/Red/ChipRed.png b/GUI/public/Game/Chips/Red/ChipRed.png new file mode 100644 index 0000000..788d6a1 Binary files /dev/null and b/GUI/public/Game/Chips/Red/ChipRed.png differ diff --git a/GUI/public/Game/Chips/Red/ChipRed.svg b/GUI/public/Game/Chips/Red/ChipRed.svg new file mode 100644 index 0000000..7c163bd --- /dev/null +++ b/GUI/public/Game/Chips/Red/ChipRed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/GUI/public/Game/Chips/Yellow/ChipYellow.png b/GUI/public/Game/Chips/Yellow/ChipYellow.png new file mode 100644 index 0000000..bbd018d Binary files /dev/null and b/GUI/public/Game/Chips/Yellow/ChipYellow.png differ diff --git a/GUI/public/Game/Chips/Yellow/ChipYellow.svg b/GUI/public/Game/Chips/Yellow/ChipYellow.svg new file mode 100644 index 0000000..aed9393 --- /dev/null +++ b/GUI/public/Game/Chips/Yellow/ChipYellow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/GUI/public/Game/Gamefield/Gamefield.png b/GUI/public/Game/Gamefield/Gamefield.png new file mode 100644 index 0000000..f6b0402 Binary files /dev/null and b/GUI/public/Game/Gamefield/Gamefield.png differ diff --git a/GUI/public/Game/Gamefield/Gamefield.svg b/GUI/public/Game/Gamefield/Gamefield.svg new file mode 100644 index 0000000..be4d532 --- /dev/null +++ b/GUI/public/Game/Gamefield/Gamefield.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/GUI/src/Home.vue b/GUI/src/Home.vue index 91d5eb9..bb87204 100644 --- a/GUI/src/Home.vue +++ b/GUI/src/Home.vue @@ -4,6 +4,7 @@ let buttons = [ name: "Lokaler Multiplayer", icon: "mdi-account-switch", color: "red", + componentName: "LocalMode" }, { name: "Lokal gegen Bot", @@ -31,6 +32,7 @@ let buttons = [ v-for="button of buttons" :key="button.name" :color="button.color" + :to="{ name: button.componentName }" size="x-large" min-width="340" rounded="xl" diff --git a/GUI/src/Interfaces/.gitkeep b/GUI/src/Interfaces/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/GUI/src/Layout.vue b/GUI/src/Layout.vue index b2fe25c..f63f0ca 100644 --- a/GUI/src/Layout.vue +++ b/GUI/src/Layout.vue @@ -6,7 +6,11 @@ - + 4-Gewinnt diff --git a/GUI/src/components/Game/Field.vue b/GUI/src/components/Game/Field.vue new file mode 100644 index 0000000..2f05040 --- /dev/null +++ b/GUI/src/components/Game/Field.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/GUI/src/router/index.ts b/GUI/src/router/index.ts index 23f5809..32d9083 100644 --- a/GUI/src/router/index.ts +++ b/GUI/src/router/index.ts @@ -1,5 +1,6 @@ import Home from '@/Home.vue' import NotFound from '@/NotFound.vue' +import LocalMode from '@/routes/LocalMode.vue' import { createRouter, createWebHistory } from 'vue-router' const router = createRouter({ @@ -10,6 +11,11 @@ const router = createRouter({ name: 'Startseite', component: Home, }, + { + path: "/localMode", + name: "LocalMode", + component: LocalMode + }, { path: '/:pathMatch(.*)*', name: 'Nicht gefunden', component: NotFound }, ], }) diff --git a/GUI/src/routes/LocalMode.vue b/GUI/src/routes/LocalMode.vue new file mode 100644 index 0000000..8d98204 --- /dev/null +++ b/GUI/src/routes/LocalMode.vue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file