Removed prints & edited route

This commit is contained in:
Felix Kirchner
2025-04-30 01:04:32 +02:00
parent 8320e7191b
commit 42f0dfe515
3 changed files with 2 additions and 3 deletions

View File

@@ -201,7 +201,6 @@ class GameSession {
/// Sums up the points of all players and stores the result in the /// Sums up the points of all players and stores the result in the
/// playerScores list. /// playerScores list.
void _sumPoints() { void _sumPoints() {
print('_sumPoints()');
for (int i = 0; i < players.length; i++) { for (int i = 0; i < players.length; i++) {
playerScores[i] = 0; playerScores[i] = 0;
for (int j = 0; j < roundList.length; j++) { for (int j = 0; j < roundList.length; j++) {

View File

@@ -285,7 +285,7 @@ class _CreateGameState extends State<CreateGame> {
players: players, players: players,
gameHasPointLimit: selectedMode!, gameHasPointLimit: selectedMode!,
); );
Navigator.push( Navigator.pushReplacement(
context, context,
CupertinoPageRoute( CupertinoPageRoute(
builder: (context) => builder: (context) =>

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo" description: "Mobile app for the card game Cabo"
publish_to: 'none' publish_to: 'none'
version: 0.1.3+63 version: 0.1.3+65
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4