diff --git a/MemoryGame/Pages/Home.razor b/MemoryGame/Pages/Home.razor
index ca05a22..e279ed6 100644
--- a/MemoryGame/Pages/Home.razor
+++ b/MemoryGame/Pages/Home.razor
@@ -13,33 +13,7 @@
Lädt...
}
- else if (_currentSession == null)
- {
-
-
Memory-Spiel
-
Übe das Zuordnen von Bildern zu Wörtern
-
-
- }
- else if (_currentSession.IsComplete && !_showStatistics)
- {
-
-
Spiel beendet!
-
-
- Richtig:
- @_currentSession.CorrectAnswers
-
-
- Falsch:
- @_currentSession.IncorrectAnswers
-
-
-
-
-
- }
- else if (_currentSession.IsComplete && _showStatistics)
+ else if (_showStatistics)
{
var words = GameService.GetWords()
.OrderBy(w => w.CorrectCount + w.IncorrectCount == 0 ? 1 : 0)
@@ -64,6 +38,21 @@
}
+
+
+ @if (_confirmReset)
+ {
+
+ Alle Statistiken wirklich zurücksetzen?
+
+
+
+ }
+ else
+ {
+
+ }
+
@foreach (var word in words)
{
@@ -83,21 +72,33 @@
}
-
- @if (_confirmReset)
- {
-
- Alle Statistiken wirklich zurücksetzen?
-
-
+
+ }
+ else if (_currentSession == null)
+ {
+
+
Memory-Spiel
+
Übe das Zuordnen von Bildern zu Wörtern
+
+
+
+ }
+ else if (_currentSession.IsComplete)
+ {
+
+
Spiel beendet!
+
+
+ Richtig:
+ @_currentSession.CorrectAnswers
- }
- else
- {
-
- }
-
-
+
+ Falsch:
+ @_currentSession.IncorrectAnswers
+
+
+
+
}
else