Skip to content

ProbablyMaybeNo/trench-crusade-automated-db

Repository files navigation

WDC GIT HUB README

Generic Wargaming Rules Repository

A web-app-first, BattleScribe-style rules + list-building data model


Overview

This repository specification defines a generic, reusable format for storing and serving tabletop wargame rules, army lists, and campaign systems in a way that is:

  • Web-app first (UI components, dashboards, databases)
  • Modular and composable (quick-reference panels, tables, procedures)
  • Compatible with BattleScribe / New Recruit concepts
  • Versioned and living-rules friendly
  • AI-generatable and AI-maintainable

It is designed to power:

  • Campaign trackers
  • Rules reference dashboards
  • Warband / army builders
  • Combat simulators
  • Narrative campaign systems

This is not a PDF mirror. It is a structured rules database.


Core Design Principles

1. Atomic Rules

Rules are broken into small, linkable units:

  • Rules
  • Procedures
  • Tables
  • Glossary terms

This allows UI components to auto-populate exactly what players need.

2. Modular Rules Groups

Rules are bundled into Rules Groups (e.g. Shooting Procedure, Hit Modifiers, Cover Saves).
Players and GMs can assemble custom reference panels instead of being forced into monolithic rule pages.

3. Live References (Default)

Campaigns reference the latest rules by default.

  • Rules updates propagate automatically
  • Breaking changes generate warnings (not hard locks)
  • Optional snapshots can be handled at the app layer

4. BattleScribe-Style List Building

Army legality is enforced using:

  • Slots
  • Selectors
  • Constraints (min/max/unique/requires/excludes/unlock)

The system intentionally avoids complex logic trees in v1 for clarity and portability.

5. Single-File Repo per Game

Each game is represented by one JSON file:

  • Easier versioning
  • Easier validation
  • Easier AI generation

Repository Structure (Logical)

Generated Modules

About

Complete automated database for Trench Crusade

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors