Skip to content

Conversation

@dgreen81-MSU
Copy link

Added a formatted “Now Playing” message in GameLauncher.java to display the current game name before the game begins.
This implements User Story #37 from the MetroCS ConsoleGameHub project.

@jody jody requested a review from Copilot November 1, 2025 21:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds a "Now Playing" header when a game is launched and includes a test line in the README. The changes appear to be incomplete as they contain a placeholder line meant to be deleted.

  • Added a game launch announcement that displays the game name in uppercase
  • Introduced a test line in README.md that should be removed

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
README.md Added test placeholder text that appears intended for deletion
GameLauncher.java Added console output to display the currently playing game name

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,4 +1,5 @@
# Console Game Hub
test-delete this
Copy link

Copilot AI Nov 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line appears to be a test placeholder that should be removed before merging. It does not belong in the project documentation.

Suggested change
test-delete this

Copilot uses AI. Check for mistakes.
System.out.println("Goodbye!");
} else if (choice > 0 && choice <= this.games.size()) {
Game game = this.games.get(choice - 1);
System.out.println("\n=== Now Playing: " + game.getName().toUpperCase() + " ===");
Copy link

Copilot AI Nov 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation uses tabs while the surrounding code uses spaces. This line should use consistent indentation with spaces to match the rest of the file (appears to be 20 spaces based on surrounding lines).

Suggested change
System.out.println("\n=== Now Playing: " + game.getName().toUpperCase() + " ===");
System.out.println("\n=== Now Playing: " + game.getName().toUpperCase() + " ===");

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR seems to introduce some unintended artifacts into the README.md. Specifically, the line 'test-delete this' looks like temporary development text. Please clean up all non-essential or temporary content.

@jody
Copy link
Contributor

jody commented Nov 1, 2025

Please include demonstration that the changes proposed (a) have associated tests; (b) do not cause previously passing tests to fail; (c) are consistent with project coding conventions.

Copy link
Contributor

@jody jody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See multiple comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

2 participants