This commit is contained in:
parent
e020f2a4b6
commit
1f8394f23b
4 changed files with 44 additions and 8 deletions
|
|
@ -108,7 +108,6 @@ export class GameState {
|
|||
|
||||
playerTotals() {
|
||||
let scores = this.players.map(p => 0);
|
||||
|
||||
for (let i = 0; i < this.rounds.length; i++) {
|
||||
for (let j = 0; j < this.rounds[i].length; j++) {
|
||||
scores[j] += this.rounds[i][j].s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue