From 7ec967a08b57a62ce93caebed0c10e3aa45f44ce Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 5 Jul 2021 03:46:38 +0200 Subject: [PATCH] Improve code legibility by introducing gameState enum --- src/components/HelloWorld.vue | 62 +++++++++++++++----------- src/objects/objects.ts | 20 ++++++--- src/services/PerudoApi.ts | 33 +++++++++++--- src/views/About.vue | 4 +- src/views/Home.vue | 84 ++++++++++++++++++++++++++++++++--- 5 files changed, 156 insertions(+), 47 deletions(-) diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index b9952db..528d0bd 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -1,33 +1,41 @@