diff --git a/src/app/components/add-game/add-game.component.html b/src/app/components/add-game/add-game.component.html index 481ce98..0d42514 100644 --- a/src/app/components/add-game/add-game.component.html +++ b/src/app/components/add-game/add-game.component.html @@ -61,9 +61,9 @@

Please check the number of caught foxes!

-
+

Game Summary

- +
diff --git a/src/app/components/add-game/add-game.component.ts b/src/app/components/add-game/add-game.component.ts index 81206a9..d8331bb 100644 --- a/src/app/components/add-game/add-game.component.ts +++ b/src/app/components/add-game/add-game.component.ts @@ -702,4 +702,22 @@ export class AddGameComponent implements OnInit { checkAllExtraPoints(): boolean { return this.checkTotalFoxPoints(); } + + /** + * _____ + * / ___/__ ______ ___ ____ ___ ____ ________ __ + * \__ \/ / / / __ `__ \/ __ `__ \/ __ `/ ___/ / / / + * ___/ / /_/ / / / / / / / / / / / /_/ / / / /_/ / + * /____/\__,_/_/ /_/ /_/_/ /_/ /_/\__,_/_/ \__, / + * /____/ + */ + + /** + * Sends the game stats to the API to be saved + */ + saveGame(): void { + //TODO implement + // call api method, then return to gameNight page / close modal or sth like that + window.location.reload(); + } }