Class CodeBreakerResult

java.lang.Object
mastermind.gui.scenes.Scene
mastermind.gui.scenes.CodeBreakerResult

public class CodeBreakerResult extends Scene
Scene that displays the result of the code breaker game mode.
  • Constructor Details

    • CodeBreakerResult

      public CodeBreakerResult(JFrame frame, Status status, Code secretCode, List<Code> guesses, List<Response> responses)
      Creates a new CodeBreakerResult scene.
      Parameters:
      frame - The frame to draw the scene on.
      status - The status of the game.
      secretCode - The secret code that the program was trying to guess.
      guesses - The guesses made by the program.
      responses - The responses to the guesses made by the program.