From 98b94cc3504937ae0af29a265394dfe52ea1ee67 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 20 Feb 2020 21:10:39 +0100 Subject: [PATCH] Store state of games VS computer --- client/src/components/ComputerGame.vue | 59 +++++++++++------- client/src/translations/about/fr.pug | 2 +- client/src/utils/compgameStorage.js | 85 ++++++++++++++++++++++++++ client/src/utils/gameStorage.js | 1 - client/src/views/Rules.vue | 15 ++++- 5 files changed, 135 insertions(+), 27 deletions(-) create mode 100644 client/src/utils/compgameStorage.js diff --git a/client/src/components/ComputerGame.vue b/client/src/components/ComputerGame.vue index a5e03b31..c05eea05 100644 --- a/client/src/components/ComputerGame.vue +++ b/client/src/components/ComputerGame.vue @@ -11,6 +11,7 @@ BaseGame(