Removed prints & edited route
This commit is contained in:
@@ -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++) {
|
||||||
|
|||||||
@@ -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) =>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user