Skip to content

Create a Game Status Header #16

Description

@RJPalmer

Description

Add a dedicated information panel above the game board to display critical game information at a glance.

User Story

As a player, I want to see the current game status in a prominent header so I can quickly understand whose turn it is and what the current game state is.

Included Components

  • Current player's turn indicator
  • Game status message
  • Selected piece status
  • Instructions when appropriate

Acceptance Criteria

  • Header is always visible above the game board
  • Current player indicator updates automatically when turns change
  • Messages update based on game state (e.g., "Select a piece", "Choose a destination")
  • Layout scales correctly when the window is resized
  • Header provides sufficient contrast for readability

Technical Notes

  • Consider using a dedicated JPanel above the main game board
  • Use clear typography and sizing to ensure readability
  • Plan for future expansion if additional game information is needed

Suggested Implementation Tasks

  • Create a new GameStatusHeader component
  • Add current player display logic
  • Add game state message display logic
  • Add selected piece status display
  • Implement responsive resizing
  • Add CSS/styling for readability

Priority

High

Labels

UI/UX, enhancement

Estimated Effort

Medium

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions