21 Flags Strategy Game

Will Kennedy's personal portfolio. This is earlier work, made before Highland Willow. It is not Highland Willow client work.

The 21 Flags Strategy Game is a browser-based, turn-taking game where players (or teams) compete to take the last flag. On each turn, a player must take exactly 1, 2, or 3 flags. The player who takes the final flag wins the round.

The demo is designed for quick, repeatable play: enter custom Player/Team names, start or reset a match instantly, and track wins in the built-in scoreboard across multiple rounds.

A scrolling move log records every turn so players can review decisions, discuss strategy, and verify gameplay. The interface is responsive and works cleanly on both desktop and mobile (mouse or touch).

Key Features

  • Classic 21 Flags Rules: Take 1–3 flags per turn; take the last flag to win.
  • Hotseat Multiplayer: Two players or two teams can play locally on the same device.
  • Single Player Mode: Toggle a one-player experience for quick practice rounds.
  • Scoreboard Tracking: Persistent win counts for Player 1 and Player 2, with a reset option.
  • Custom Player/Team Names: Rename players/teams for group play or classroom demos.
  • Move Log: Scrollable turn-by-turn history for transparency and strategy review.
  • Responsive Layout: Optimized for both desktop and mobile screens with clear action buttons.

How to Play

  • Open the Demo: Launch the game using the button below.
  • Set Player/Team Names: Enter names for Player 1 / Team 1 and Player 2 / Team 2.
  • Start the Match: Click Start Game to begin with 21 flags.
  • Take Flags: On your turn, choose Take 1, Take 2, or Take 3.
  • Win the Round: Take the last remaining flag to win; the scoreboard updates automatically.
  • Review Strategy: Use the Move Log to replay the round and analyze decisions.

Play the new version of 21 Flags on the Highland Willow journal

All code demos