Skip to content

Build Turn Management System #3

@Junaid-Kureshi

Description

@Junaid-Kureshi

Complete the turn-based system that alternates between player and dealer.

Requirements:

  • Implement switch_turn() function
  • Complete is_player_turn() and helper functions
  • Emit turn_changed signal when turns switch
  • Handle turn validation in game actions

Acceptance Criteria:

  • Turns alternate properly between player and dealer
  • Turn change signal emits with correct turn value
  • Game actions are blocked when it's not the player's turn
  • Visual indicator shows whose turn it is

Files to modify:

  • scripts/singletons/GameManager.gd

Testing:
Call GameManager.switch_turn() multiple times and verify turn state changes.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions