From d62c8499a55e32253066f73fc696864bb06a1de7 Mon Sep 17 00:00:00 2001 From: JoshLapierre45 Date: Wed, 1 Oct 2025 14:48:42 -0600 Subject: [PATCH 01/10] Josh --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea47623..14cb661 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Console Game Hub - +# Josh Lapierre Repository for explorations of software development --- From d0ebecc5b7afab41486848b316ffcc9c15305378 Mon Sep 17 00:00:00 2001 From: bfcortesss Date: Wed, 1 Oct 2025 16:52:08 -0400 Subject: [PATCH 02/10] Making a change on README.md - BF --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ea47623..05c6280 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +Brian F. + # Console Game Hub Repository for explorations of software development From 998b9512f4ccff70c8b367adbf636b43ef333494 Mon Sep 17 00:00:00 2001 From: hchagerman <123512775+hchagerman@users.noreply.github.com> Date: Wed, 1 Oct 2025 14:54:00 -0600 Subject: [PATCH 03/10] Update README.md name Signed-off-by: hchagerman <123512775+hchagerman@users.noreply.github.com> --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 14cb661..8caac76 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Console Game Hub # Josh Lapierre +# Hunter Hagerman Repository for explorations of software development --- From 879e1039e9d5b8fd7d28d00e6410635a1929d4cf Mon Sep 17 00:00:00 2001 From: CamCranda11 Date: Wed, 1 Oct 2025 16:58:10 -0400 Subject: [PATCH 04/10] added name --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8caac76..a168ed3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Console Game Hub # Josh Lapierre # Hunter Hagerman +# Cameron Crandall Repository for explorations of software development --- From 601a087986ebf4557e125b305cc5cb5c748c920e Mon Sep 17 00:00:00 2001 From: ahmedbacaad Date: Wed, 1 Oct 2025 17:39:13 -0400 Subject: [PATCH 05/10] added my name --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8bb34fa..c866339 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Brian F. # Josh Lapierre # Hunter Hagerman # Cameron Crandall +# Ahmed Abdi Repository for explorations of software development --- From 720cc0ea79bdd8b34bdc30efdfeba73111392ef0 Mon Sep 17 00:00:00 2001 From: hchagerman <123512775+hchagerman@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:56:31 -0600 Subject: [PATCH 06/10] Update GameHistoryTracker.java add if Score == null Signed-off-by: hchagerman <123512775+hchagerman@users.noreply.github.com> --- GameHistoryTracker.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GameHistoryTracker.java b/GameHistoryTracker.java index ffd810e..e4e9faf 100644 --- a/GameHistoryTracker.java +++ b/GameHistoryTracker.java @@ -30,6 +30,9 @@ public void recordPlay(final String gameName, final Integer score) { if (score != null) { stats.totalScore += score; stats.scores.add(score); + } else if (score == null) { + System.out.println("Score is null"); + return; } statsMap.put(gameName, stats); } From aff990cf9a1780a3357037bdd3cb0994554391ab Mon Sep 17 00:00:00 2001 From: CamCranda11 <159499223+CamCranda11@users.noreply.github.com> Date: Wed, 8 Oct 2025 15:45:02 -0600 Subject: [PATCH 07/10] Delete README.md Signed-off-by: CamCranda11 <159499223+CamCranda11@users.noreply.github.com> --- README.md | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index c866339..0000000 --- a/README.md +++ /dev/null @@ -1,42 +0,0 @@ -Brian F. - -# Console Game Hub -# Josh Lapierre -# Hunter Hagerman -# Cameron Crandall -# Ahmed Abdi -Repository for explorations of software development - ---- ---- -### Overview -This project is a collaborative software development platform -designed for undergraduate CS students, featuring a -console-based arcade of classic and logic-driven games. - -It is intended to help students practice software -development principles (such as, agile development, -test-driven development, object-oriented design, pair-programming, -and refactoring) through fun and meaningful work. - -The goal is to reinforce core and agile software development -concepts and practices by contributing in an engaging, -real-world context. - -#### Test -`ant test` -#### Build -`ant jar` -#### Run -`java -jar build/jar/ConsoleGameHub.jar` - -### Activities - -The [Project](https://github.com/orgs/MetroCS/projects/9) contains a Kanban-style board of project activity - -See the [Issues](https://github.com/MetroCS/ConsoleGameHub/issues) tab for all associated user stories and tasks - ---- -## Information and Examples - -Visit the [website](https://metrocs.github.io/ConsoleGameHub/) for information and to download examples From 6d1a78a02d2b1496fea63967ff768be7a00a57f0 Mon Sep 17 00:00:00 2001 From: CamCranda11 <159499223+CamCranda11@users.noreply.github.com> Date: Wed, 8 Oct 2025 15:51:44 -0600 Subject: [PATCH 08/10] Create README.md Signed-off-by: CamCranda11 <159499223+CamCranda11@users.noreply.github.com> --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ea47623 --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +# Console Game Hub + +Repository for explorations of software development + +--- +--- +### Overview +This project is a collaborative software development platform +designed for undergraduate CS students, featuring a +console-based arcade of classic and logic-driven games. + +It is intended to help students practice software +development principles (such as, agile development, +test-driven development, object-oriented design, pair-programming, +and refactoring) through fun and meaningful work. + +The goal is to reinforce core and agile software development +concepts and practices by contributing in an engaging, +real-world context. + +#### Test +`ant test` +#### Build +`ant jar` +#### Run +`java -jar build/jar/ConsoleGameHub.jar` + +### Activities + +The [Project](https://github.com/orgs/MetroCS/projects/9) contains a Kanban-style board of project activity + +See the [Issues](https://github.com/MetroCS/ConsoleGameHub/issues) tab for all associated user stories and tasks + +--- +## Information and Examples + +Visit the [website](https://metrocs.github.io/ConsoleGameHub/) for information and to download examples From bdc24a59069c6400bdeed6025499812e61c197af Mon Sep 17 00:00:00 2001 From: hchagerman Date: Mon, 13 Oct 2025 17:41:51 -0400 Subject: [PATCH 09/10] jotto with a remainder --- JottoGame.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JottoGame.java b/JottoGame.java index f08af55..b80b635 100644 --- a/JottoGame.java +++ b/JottoGame.java @@ -62,7 +62,8 @@ public Optional play() { int attemptsLeft = MAX_GUESSES; while (attemptsLeft > 0) { - System.out.print("Enter guess: "); + System.out.print("Remaining number of guesses: " + attemptsLeft + + System.lineSeparator() + "Enter guess: "); String guess = scanner.nextLine().trim().toUpperCase(); if (guess.length() != WORD_LENGTH || !guess.matches("[A-Z]+")) { From ea28f6da01ae1a4a2c42c1290008061aece0edc2 Mon Sep 17 00:00:00 2001 From: hchagerman <123512775+hchagerman@users.noreply.github.com> Date: Wed, 15 Oct 2025 14:54:22 -0600 Subject: [PATCH 10/10] Update GameHistoryTracker.java Signed-off-by: hchagerman <123512775+hchagerman@users.noreply.github.com> --- GameHistoryTracker.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/GameHistoryTracker.java b/GameHistoryTracker.java index e4e9faf..ffd810e 100644 --- a/GameHistoryTracker.java +++ b/GameHistoryTracker.java @@ -30,9 +30,6 @@ public void recordPlay(final String gameName, final Integer score) { if (score != null) { stats.totalScore += score; stats.scores.add(score); - } else if (score == null) { - System.out.println("Score is null"); - return; } statsMap.put(gameName, stats); }