aboutsummaryrefslogtreecommitdiff
path: root/back
diff options
context:
space:
mode:
authorAnthony Wang2021-05-07 10:00:02 -0500
committerAnthony Wang2021-05-07 10:00:02 -0500
commitf8b54ea60ce26b3bacaf980a67596b68207c33e7 (patch)
tree872b31b337d45720814a9bd394284646d74a73cb /back
parent23968cba6949c517abba941e22e7487227fe5de3 (diff)
Implemented phases 2 and 3
Diffstat (limited to 'back')
-rw-r--r--back/src/Game.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/back/src/Game.ts b/back/src/Game.ts
index 293baa3..dbc4612 100644
--- a/back/src/Game.ts
+++ b/back/src/Game.ts
@@ -28,6 +28,7 @@ class Player {
players: otherPlayers.map((p: Player) => ({
username: p.client.username,
numCards: p.cards.length,
+ stackSize: p.stack.length,
rank: p.rank,
})),
phase: this.game.phase,