diff --git a/backend/backend/Models/Game.cs b/backend/backend/Models/Game.cs index 615e158..5528e3a 100755 --- a/backend/backend/Models/Game.cs +++ b/backend/backend/Models/Game.cs @@ -40,7 +40,6 @@ public class Game { var handList = Hand.ToList(); - Console.WriteLine("Deck Length: " + Deck.Length); if (Deck.Length < 1) { handList[index] = 0; Hand = [.. handList]; diff --git a/frontend/public/logo.svg b/frontend/public/logo.svg new file mode 100644 index 0000000..63a0388 --- /dev/null +++ b/frontend/public/logo.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index 86d9948..43de8ab 100755 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -1,3 +1,16 @@ + +
diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts index 42dfaf8..5a92523 100755 --- a/frontend/src/app/app.component.ts +++ b/frontend/src/app/app.component.ts @@ -1,10 +1,11 @@ import { Component } from '@angular/core'; import { RouterModule } from '@angular/router'; +import { HeaderComponent } from './header/header.component'; @Component({ selector: 'app-root', standalone: true, - imports: [RouterModule], + imports: [RouterModule, HeaderComponent], templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) diff --git a/frontend/src/app/game/game.component.html b/frontend/src/app/game/game.component.html index 941ef5d..28532a8 100755 --- a/frontend/src/app/game/game.component.html +++ b/frontend/src/app/game/game.component.html @@ -1,4 +1,6 @@
+ Go back +
@for(card of gameService.hand; track card.id) { @@ -24,6 +26,11 @@ Started on {{ gameService.stats().dateStarted | date:'dd-MM-YYYY HH:mm' }}

+

+ +

+

SETGame

+
- +
- -
-

Match sets of cards based on their properties!

-

Find as many sets as you can before the deck runs out.

-
-
- \ No newline at end of file + \ No newline at end of file diff --git a/frontend/src/app/start-screen/start-screen.component.scss b/frontend/src/app/start-screen/start-screen.component.scss index e69de29..3de6177 100644 --- a/frontend/src/app/start-screen/start-screen.component.scss +++ b/frontend/src/app/start-screen/start-screen.component.scss @@ -0,0 +1,3 @@ +.title { + font-family: 'Courier New', Courier, monospace; +} \ No newline at end of file diff --git a/frontend/src/service/game/game.service.ts b/frontend/src/service/game/game.service.ts index 1120c02..f7963da 100755 --- a/frontend/src/service/game/game.service.ts +++ b/frontend/src/service/game/game.service.ts @@ -104,4 +104,8 @@ export class GameService { }); this.selectedCards = []; } + + public async deleteGame() { + await axios.delete('http://localhost:5224/api/v1/Games/' + this.gameId); + } }