diff --git a/src/app/app.module.ts b/src/app/app.module.ts index ae4db80..c2e8554 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -10,6 +10,7 @@ import {HeaderComponent} from './components/header/header.component'; import {ProfileComponent} from './components/profile/profile.component'; import {AddGameComponent} from './components/add-game/add-game.component'; import {MatchHistoryComponent} from './pages/match-history/match-history.component'; +import {FormsModule} from '@angular/forms'; @NgModule({ declarations: [ @@ -24,7 +25,8 @@ import {MatchHistoryComponent} from './pages/match-history/match-history.compone ], imports: [ BrowserModule, - AppRoutingModule + AppRoutingModule, + FormsModule ], providers: [], bootstrap: [AppComponent] diff --git a/src/app/components/add-game/add-game.component.html b/src/app/components/add-game/add-game.component.html index 25be637..8677307 100644 --- a/src/app/components/add-game/add-game.component.html +++ b/src/app/components/add-game/add-game.component.html @@ -3,18 +3,48 @@
Select the active players for the game:
+Illegal amount of players!
- +Players: {{getPlayerNamesAsString()}}
+Select the announcements for this game:
+Illegal set of announcements!
+Players: {{getPlayerNamesAsString()}}
+Highest Announcements: {{getHighestAnnouncements()}}
+Please select the elder(s):
+Illegal game teams!
+Please enter the points that every player has collected:
+{{this.actualPlayers[0].firstName}} |
+ + |
{{this.actualPlayers[1].firstName}} |
+ + |
{{this.actualPlayers[2].firstName}} |
+ + |
{{this.actualPlayers[3].firstName}} |
+ + |
Total score doesn't add up!
++ {{player.firstName}}: {{calculateCurrentScore(player)}} +
Doppelkopf-Stats
+Doppelkopf-Stats