Class WinGameScreen

java.lang.Object
javatro.display.screens.Screen
javatro.display.screens.WinGameScreen

public class WinGameScreen extends Screen
Victory screen displayed upon completing the game successfully.

Features:

  • Random celebratory quote
  • Animated victory graphic
  • Post-game navigation options
  • Field Details

    • QUOTES

      protected static final List<String> QUOTES
      Collection of victory messages for random selection
  • Constructor Details

    • WinGameScreen

      public WinGameScreen() throws JavatroException
      Constructs victory screen with post-game options.
      Throws:
      JavatroException - if screen initialization fails
  • Method Details

    • displayScreen

      public void displayScreen()
      Displays victory screen components:
      • Celebratory ASCII art
      • Decorative border elements
      • Random victory quote
      • Post-game options
      Specified by:
      displayScreen in class Screen