From: Benjamin Auder Date: Fri, 28 Jun 2019 14:59:14 +0000 (+0200) Subject: Refactor, forget about 3 or 4 players games X-Git-Url: https://git.auder.net/img/js/doc/screen_pairings_new.png?a=commitdiff_plain;h=6fba6e0c029afc74a780ef845a02659da53c84e0;p=vchess.git Refactor, forget about 3 or 4 players games --- diff --git a/client/src/data/nbPlayers.js b/client/src/data/nbPlayers.js deleted file mode 100644 index 2f58d168..00000000 --- a/client/src/data/nbPlayers.js +++ /dev/null @@ -1,21 +0,0 @@ -export const NbPlayers = -{ - "Alice": [2,3,4], - "Antiking": [2,3,4], - "Atomic": [2,3,4], - "Baroque": [2,3,4], - "Berolina": [2,4], - "Checkered": [2,3,4], - "Chess960": [2,3,4], - "Crazyhouse": [2,3,4], - "Dark": [2,3,4], - "Extinction": [2,3,4], - "Grand": [2], - "Losers": [2,3,4], - "Magnetic": [2], - "Marseille": [2], - "Switching": [2,3,4], - "Upsidedown": [2], - "Wildebeest": [2], - "Zen": [2,3,4], -}; diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 96c711b6..7d20dbe0 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -11,7 +11,7 @@ button(@click="abortGame") {{ st.tr["Game is too boring"] }} BaseGame(:game="game" :vr="vr" ref="basegame" @newmove="processMove" @gameover="gameOver") - // TODO: show players names + clocks state + // TODO: also show players names div Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }} .button-group(v-if="game.mode!='analyze' && game.score=='*'") button(@click="offerDraw") Draw @@ -24,12 +24,18 @@