Verschiedene Regelsätze implementieren #194

Merged
flixcoo merged 46 commits from feature/132-verschiedene-regelsaetze-implementieren into development 2026-04-24 10:31:36 +00:00
Owner

Zugehörige Issue(s)

Closes #132

Beschreibung

Es wurden die vier Regelsätze implementiert, so dass Matches mit diesen gespielt werden können, Punkte und Angaben richtig verarbeitet und angezeigt werden.

Änderungen

  • Neue Ansicht zur MatchResultView hinzugefügt: Bei lowestScore und highestScore können jetzt Punkte mit Hilfe der ScoreListTile für jeden Spieler eingtragen werden.
  • winner-Attribut aus match-Klasse durch Getter-Methode mvp ersetzt, welche dynamisch den gewinner berechnet und nicht mehr selbst in der klasse speichert
  • Jede Usage von winner durch mvp ersetzt und nach Bedarf angepasst
  • In scores werden bis auf weiteres nur ein Score-Objekt pro Spieler gespeichert
  • Methoden getWinner() und getLooser() angepasst
  • JSON-Handling des scores-Attribut angepasst
  • Games-Auswahl zu Testzwecken implementiert, Erstellung der Games kommt dann in #119
  • Zu Testzwecken Anzeige von Game / Ruleset in MatchTiles implementiert
  • MVP Text/Icon wird je nach Ruleset variiert
  • JSON -Erstellung in getAppDataAsJson() vereinfacht
  • JSON-Schema angepasst & neue Testdaten erstellt

Zusätzliche Anmerkungen

Dieser PR ist relativ groß, das meiste sind aber nur fortlaufende Anpassungen zu Änderungen(z.B. bei der mvp-Variable, wo jedes Vorkommen von winner angepasst werden musste, weil mvp statt einem Player eine List<Player> zurückgibt

### Zugehörige Issue(s) Closes #132 ### Beschreibung Es wurden die vier Regelsätze implementiert, so dass Matches mit diesen gespielt werden können, Punkte und Angaben richtig verarbeitet und angezeigt werden. ### Änderungen - [x] Neue Ansicht zur `MatchResultView` hinzugefügt: Bei `lowestScore` und `highestScore` können jetzt Punkte mit Hilfe der `ScoreListTile` für jeden Spieler eingtragen werden. - [x] `winner`-Attribut aus `match`-Klasse durch Getter-Methode `mvp` ersetzt, welche dynamisch den gewinner berechnet und nicht mehr selbst in der klasse speichert - [x] Jede Usage von `winner` durch `mvp` ersetzt und nach Bedarf angepasst - [x] In `scores` werden bis auf weiteres nur ein Score-Objekt pro Spieler gespeichert - [x] Methoden `getWinner()` und `getLooser()` angepasst - [x] JSON-Handling des `scores`-Attribut angepasst - [x] Games-Auswahl zu Testzwecken implementiert, Erstellung der Games kommt dann in #119 - [x] Zu Testzwecken Anzeige von Game / Ruleset in `MatchTile`s implementiert - [x] MVP Text/Icon wird je nach Ruleset variiert - [x] JSON -Erstellung in `getAppDataAsJson()` vereinfacht - [x] JSON-Schema angepasst & neue Testdaten erstellt ### Zusätzliche Anmerkungen Dieser PR ist relativ groß, das meiste sind aber nur fortlaufende Anpassungen zu Änderungen(z.B. bei der `mvp`-Variable, wo jedes Vorkommen von `winner` angepasst werden musste, weil `mvp` statt einem `Player` eine `List<Player>` zurückgibt
flixcoo added this to the Alpha milestone 2026-03-08 07:32:45 +00:00
flixcoo self-assigned this 2026-03-08 07:32:45 +00:00
flixcoo added 3 commits 2026-03-08 07:32:45 +00:00
Implemented basic structure
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 39s
Pull Request Pipeline / lint (pull_request) Failing after 44s
c50ad288fa
flixcoo added 2 commits 2026-03-08 10:00:51 +00:00
# Conflicts:
#	lib/l10n/arb/app_de.arb
#	lib/l10n/arb/app_en.arb
#	lib/l10n/generated/app_localizations.dart
#	lib/l10n/generated/app_localizations_de.dart
#	lib/l10n/generated/app_localizations_en.dart
#	lib/presentation/views/main_menu/match_view/match_result_view.dart
Fixed match edit error with game
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 39s
Pull Request Pipeline / lint (pull_request) Failing after 46s
84b8541822
flixcoo added 2 commits 2026-03-08 21:26:08 +00:00
Implemented different result view depending on ruleset
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 38s
Pull Request Pipeline / lint (pull_request) Failing after 45s
f0c575d2c9
flixcoo added the
Workflow
On Hold
3
label 2026-03-08 21:26:16 +00:00
Author
Owner

Wartet auf #191

Wartet auf #191
flixcoo added a new dependency 2026-03-08 21:26:39 +00:00
flixcoo added 1 commit 2026-03-08 21:27:31 +00:00
Fix: Linter exclude
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 40s
Pull Request Pipeline / lint (pull_request) Successful in 46s
9b2fcf1860
gelbeinhalb started working 2026-03-11 19:07:14 +00:00
gelbeinhalb worked for 2 seconds 2026-03-11 19:07:16 +00:00
gelbeinhalb deleted spent time 2026-03-11 19:07:24 +00:00
- 2 seconds
flixcoo removed the
Workflow
On Hold
3
label 2026-04-14 16:12:15 +00:00
flixcoo added 2 commits 2026-04-14 22:09:33 +00:00
# Conflicts:
#	lib/presentation/views/main_menu/match_view/match_result_view.dart
Implemented ruleset in match view
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 43s
Pull Request Pipeline / lint (pull_request) Failing after 46s
ddf32797aa
flixcoo added 23 commits 2026-04-21 20:22:45 +00:00
flixcoo added 1 commit 2026-04-21 20:22:58 +00:00
Merge branch 'development' into feature/132-verschiedene-regelsaetze-implementieren
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 52s
Pull Request Pipeline / lint (pull_request) Successful in 56s
852b5f444c
flixcoo added 4 commits 2026-04-21 21:25:20 +00:00
Updated packages
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 17s
Pull Request Pipeline / test (pull_request) Failing after 18s
0b991026c7
flixcoo added 1 commit 2026-04-21 21:26:35 +00:00
Downgraded flutter again
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 17s
Pull Request Pipeline / test (pull_request) Failing after 19s
52518dc525
flixcoo added 1 commit 2026-04-21 21:27:41 +00:00
Downgraded flutter again
Some checks failed
Pull Request Pipeline / test (pull_request) Failing after 45s
Pull Request Pipeline / lint (pull_request) Successful in 47s
1a2ad547be
flixcoo added 1 commit 2026-04-21 21:36:12 +00:00
Fixed versioning
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 50s
Pull Request Pipeline / lint (pull_request) Successful in 53s
db554557fe
flixcoo added 1 commit 2026-04-21 21:39:49 +00:00
Removed unnecessary function
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 46s
Pull Request Pipeline / lint (pull_request) Successful in 48s
a7e234cf10
flixcoo added 1 commit 2026-04-21 21:40:58 +00:00
Removed unnecessary table association
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 46s
Pull Request Pipeline / lint (pull_request) Successful in 48s
2fe43a5ad1
flixcoo added 2 commits 2026-04-21 22:19:54 +00:00
Added ruleset depending icons and adjusted mvp text
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 45s
Pull Request Pipeline / lint (pull_request) Successful in 47s
23b903e28a
flixcoo added the
PR
Ready for Review
2
label 2026-04-21 22:24:21 +00:00
flixcoo requested review from Owners 2026-04-21 22:24:24 +00:00
flixcoo changed title from WIP: Verschiedene Regelsätze implementieren to Verschiedene Regelsätze implementieren 2026-04-21 22:24:30 +00:00
Author
Owner

Die neuen Testdaten:

Die neuen Testdaten:
gelbeinhalb approved these changes 2026-04-23 12:26:04 +00:00
Dismissed
gelbeinhalb left a comment
Owner

sieht gut aus :)

sieht gut aus :)
flixcoo added 1 commit 2026-04-24 10:20:08 +00:00
Merge branch 'development' into feature/132-verschiedene-regelsaetze-implementieren
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 46s
Pull Request Pipeline / lint (pull_request) Successful in 54s
1d02c04b7a
# Conflicts:
#	lib/core/common.dart
#	lib/presentation/views/main_menu/statistics_view.dart
#	lib/presentation/widgets/player_selection.dart
flixcoo dismissed gelbeinhalb's review 2026-04-24 10:20:08 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

flixcoo scheduled this pull request to auto merge when all checks succeed 2026-04-24 10:20:19 +00:00
flixcoo requested review from gelbeinhalb 2026-04-24 10:20:30 +00:00
gelbeinhalb approved these changes 2026-04-24 10:31:34 +00:00
flixcoo merged commit 7effa77f82 into development 2026-04-24 10:31:36 +00:00
flixcoo deleted branch feature/132-verschiedene-regelsaetze-implementieren 2026-04-24 10:31:36 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Depends on
#191 Score implementation ergänzen
liquid-development/game-tracker
Reference: liquid-development/game-tracker#194