From 41330c5e7f93cb79009eaa5e90efaa077a07319b Mon Sep 17 00:00:00 2001 From: Alec Date: Thu, 12 May 2022 18:17:27 -0400 Subject: [PATCH 1/7] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3029d22..c5970c6 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,10 @@ The application prioritizes responsiveness. A key scenario would be when a group This is a Node.js application. It is written purely using JavaScript/HTML/CSS. The main dependencies are Express.js and Socket.io. It runs as a containerized application -via Google Cloud Run. +via Google Cloud Run. There is no data persisted in any database. +Currently there is one container instance, which is sufficient scaling at this time. In the event I need to scale to multiple containers, I will likely +integrate with a message queue like Redis. ## Contributing and Developers' Guide ### Running Locally From 0e46309157c958744a066d35d1e7d9c67e748f8a Mon Sep 17 00:00:00 2001 From: Alec Date: Thu, 12 May 2022 18:40:37 -0400 Subject: [PATCH 2/7] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c5970c6..932173e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@

+- [Features](https://github.com/AlecM33/Werewolf#features) +- [Tech Stack] +- [Contributing and Developers' Guide] +- [Testing] +- [Code Formatting] + [![Node.js CI](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml) Find the latest production deployment at: https://play-werewolf.app/ From aacd7d241c28c531fc63fbbb0facdae3e42c99c4 Mon Sep 17 00:00:00 2001 From: Alec Date: Thu, 12 May 2022 18:41:21 -0400 Subject: [PATCH 3/7] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 932173e..13b89a6 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@

- [Features](https://github.com/AlecM33/Werewolf#features) -- [Tech Stack] -- [Contributing and Developers' Guide] -- [Testing] -- [Code Formatting] +- [Tech Stack](https://github.com/AlecM33/Werewolf/blob/master/README.md#tech-stack) +- [Contributing and Developers' Guide](https://github.com/AlecM33/Werewolf/blob/master/README.md#contributing-and-developers-guide) +- [Testing](https://github.com/AlecM33/Werewolf/blob/master/README.md#testing) +- [Code Formatting](https://github.com/AlecM33/Werewolf/blob/master/README.md#code-formatting) [![Node.js CI](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml) From 125272807a58a14ce3f8539df80259c12b3d0927 Mon Sep 17 00:00:00 2001 From: Alec Date: Thu, 12 May 2022 18:42:20 -0400 Subject: [PATCH 4/7] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 13b89a6..2875c64 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@

-- [Features](https://github.com/AlecM33/Werewolf#features) -- [Tech Stack](https://github.com/AlecM33/Werewolf/blob/master/README.md#tech-stack) -- [Contributing and Developers' Guide](https://github.com/AlecM33/Werewolf/blob/master/README.md#contributing-and-developers-guide) -- [Testing](https://github.com/AlecM33/Werewolf/blob/master/README.md#testing) -- [Code Formatting](https://github.com/AlecM33/Werewolf/blob/master/README.md#code-formatting) +- [Features](#features) +- [Tech Stack](#tech-stack) +- [Contributing and Developers' Guide](#contributing-and-developers-guide) +- [Testing](#testing) +- [Code Formatting](#code-formatting) [![Node.js CI](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml) From 76d10fea489324700f2673a1b65b528003375f7d Mon Sep 17 00:00:00 2001 From: Alec Date: Thu, 12 May 2022 18:42:59 -0400 Subject: [PATCH 5/7] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2875c64..bb80aef 100644 --- a/README.md +++ b/README.md @@ -2,16 +2,16 @@

+[![Node.js CI](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml) + +Find the latest production deployment at: https://play-werewolf.app/ + - [Features](#features) - [Tech Stack](#tech-stack) - [Contributing and Developers' Guide](#contributing-and-developers-guide) - [Testing](#testing) - [Code Formatting](#code-formatting) -[![Node.js CI](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/AlecM33/Werewolf/actions/workflows/node.js.yml) - -Find the latest production deployment at: https://play-werewolf.app/ - An application to run games of Werewolf (Mafia) smoothly when you don't have a deck, or when you and your friends are together virtually. Basically, a host builds a game and deals a role to everyone's device, and then the app keeps track of the game state (timer, player statuses, etc). From ff1b4e0ad8d4c748e983f7708c31ac337d6b8361 Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Sun, 12 Jun 2022 13:54:13 -0400 Subject: [PATCH 6/7] tweak end of game page styling --- client/src/modules/HTMLFragments.js | 4 +--- client/src/styles/game.css | 10 +++++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/client/src/modules/HTMLFragments.js b/client/src/modules/HTMLFragments.js index e91a2d5..7ed5a29 100644 --- a/client/src/modules/HTMLFragments.js +++ b/client/src/modules/HTMLFragments.js @@ -226,9 +226,7 @@ export const HTMLFragments = {
`, RESTART_GAME_BUTTON: - `
- -
`, + ``, CREATE_GAME_DECK: `
diff --git a/client/src/styles/game.css b/client/src/styles/game.css index 8cb87c1..b3d187f 100644 --- a/client/src/styles/game.css +++ b/client/src/styles/game.css @@ -104,9 +104,17 @@ h1 { align-items: center; } +#end-of-game-header h2 { + border: 1px solid #333243; + border-radius: 5px; + background-color: #1a1726; + padding: 7px; + margin: 0.5em; +} + #end-of-game-header button { margin: 0.5em; - min-width: 10em; + min-width: 12em; } .potential-moderator { display: flex; From 43344b217ab6341e5a1e63dc20bd2ebf869c3a2a Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Sun, 12 Jun 2022 13:58:37 -0400 Subject: [PATCH 7/7] lint --- client/src/modules/HTMLFragments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/modules/HTMLFragments.js b/client/src/modules/HTMLFragments.js index 7ed5a29..2dd103b 100644 --- a/client/src/modules/HTMLFragments.js +++ b/client/src/modules/HTMLFragments.js @@ -226,7 +226,7 @@ export const HTMLFragments = {
`, RESTART_GAME_BUTTON: - ``, + '', CREATE_GAME_DECK: `