Skip to content

dt-nonaz/Pirate-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pirate Game Tutorial

An interactive web-based tutorial application that teaches players the mechanics of a pirate-themed board game. Built with Blazor Server, the app walks players through crew recruitment, resource management, missions, and combat — complete with animated card effects and sound.

Tech Stack

  • .NET 10 / C#
  • Blazor Server (Interactive Server-side rendering)
  • Bootstrap 5
  • JavaScript (animations and sound)

Prerequisites

Getting Started

dotnet run

The app will launch at https://localhost:7024 (or http://localhost:5182).

Project Structure

Pirate-Tutorial/
├── Components/
│   ├── Pages/          # Razor pages (tutorial steps, port actions, tests)
│   ├── Controls/       # Reusable UI components (crew cards, player displays)
│   └── Layout/         # Main layout, nav menu
├── Services/
│   ├── PlayerService   # Player switching and active player tracking
│   └── SoundService    # Audio playback via JS interop
├── Site/
│   ├── Models/         # Game entities (Player, Crew, Mission, Talent, etc.)
│   ├── Managers/       # Game logic and data (crew cards, missions, utilities)
│   └── Enumerations    # Game enums (resources, skills, banners, perks)
└── wwwroot/
    ├── css/            # Theme, typography, animations, sprites
    ├── js/             # Resource, crew card, and dig animations
    ├── Images/         # Crew, mission, player board, and icon sprites
    └── sounds/         # Gold coin, pirate laugh, rum bottle audio

Game Mechanics

Players

  • Supports up to 5 players, each with their own crew, resources, missions, and infamy

Resources

  • Gems — precious stones gathered through actions
  • Doubloons — gold currency for bartering and recruiting
  • Rum — liquid courage fueling various abilities

Crew

  • Deckhands — basic crew members that generate resources
  • Officers — powerful crew with triggered abilities
  • Each crew card has a banner (Orange, White, Teal), a skill (Barrel, Guns, Anchor, Shipwheel), and recruit perks

Actions

  • Dig — gather resources from the island
  • Plunder — steal resources from rival players
  • Waylay — attack and disrupt opponents
  • Barter — trade resources at the port

Talents

  • Color-coded special abilities: Red (combat/resource boosts), Yellow (tap abilities), Blue (mission/discovery bonuses)

Missions

  • 72 available missions for players to pursue and complete

Tutorial Flow

The app guides players through the game step by step:

  1. Reveal & Recruit — Crew cards are revealed and players choose who to recruit
  2. Choose Actions — Dismiss, barter, recruit deckhands, or trigger officer abilities
  3. Execute Actions — Perform Dig, Plunder, or Waylay with animated effects
  4. Generate Resources — Deckhands produce resources at the end of a turn

Features

  • Step-by-step interactive tutorial pages
  • Animated crew card reveals and resource effects (gem glints, rum bubbles, coin flips)
  • Sound effects (gold coins, pirate laughs, rum bottles)
  • Sprite-based card rendering
  • Multi-player support with player switching

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors