Skip to content

Maxbanker/BloodForge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BloodForge Cognitive Combat Simulator

BF-CCSF v6.0 + Street/Prison Scrap Mod (SPSM v1.1)

An entropy-driven combat simulation framework that models cognitive and narrative stability under pressure β€” not just physical damage.

This is the official open-source implementation of the BloodForge Cognitive Combat Simulation Framework (BF-CCSF v6.0).

Framework Specification DOI:
DOI

Try the Full Framework Online

You can also interact with the complete framework through the official BloodForge Simulator Custom GPT: β†’ BloodForge Simulator on ChatGPT


This is v0.1 β€” an early public release. The core symbolic operators are implemented and functional, but SPSM mode is still being tuned for the ideal "short and ugly" street fight feel.

What Makes BloodForge Different?

Most combat simulators focus on physics, animations, or basic AI.
BloodForge simulates the mind breaking down.

It tracks five core symbolic operators:

  • Drift (Ξ“) β€” How far a fighter deviates from their baseline identity
  • Coherence (Ξ©) β€” Internal structural stability of decision-making
  • Collapse (π’ž) β€” Probabilistic breakdown with distinct modes (Hesitation, Panic-Aggression, Shutdown)
  • Weave (W) β€” Partial, fragile recovery under pressure
  • Cognitive Veil (V^cn) β€” Risk gating tied to psychological state

In Street/Prison Scrap Mod (SPSM), fights become short, dirty, and unforgiving β€” mistakes compound rapidly on concrete with no rules or referee.

Features

  • Full implementation of BF-CCSF v6.0 specification
  • Structured action system with utility-based selection and collapse distortion
  • Realistic multi-channel damage (pain, shock, neuro, bleed, structural)
  • Tempo regime transitions
  • Traceable CSV logs with all symbolic operators
  • Interactive Streamlit web demo with live plots
  • Visualization module for cognitive timelines

Quick Start

1. Installation

git clone https://github.com/Maxbanker/BloodForge.git
cd BloodForge

# Create virtual environment (recommended)
python -m venv venv
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate

# Install dependencies
pip install -e .

2. Run the Web Demo (Recommended)

Bash

streamlit run src/app.py

Open your browser to http://localhost:8501.

3. Run a Basic Example

Bash

python examples/basic_fight.py

Repository Structure

text

BloodForge/
β”œβ”€β”€ setup.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ examples/
β”‚   └── basic_fight.py
└── src/
    β”œβ”€β”€ bloodforge/
    β”‚   β”œβ”€β”€ core/
    β”‚   β”œβ”€β”€ mods/
    β”‚   β”œβ”€β”€ sim.py
    β”‚   └── visualize.py
    └── app.py

Current Status (v0.1)

This is an early release. The simulator successfully implements the five core operators and produces traceable outputs.

Note: SPSM mode tends to produce shorter, more chaotic fights. The exact "snowball" brutality is still being refined based on feedback.

Future Plans

  • Stronger narrative summaries and collapse mode visualization
  • Improved snowball mechanics in SPSM
  • Calibration tools and batch testing
  • Unity/Godot plugin support
  • Expanded scenario packs

Supporting the Project

This simulator is a side project built to support larger research into Symbolic Recursion and Collapse-Resilient Intelligence.

All donations and sponsorships directly fund continued development and open releases.

You can support via:

Every contribution helps push the next preprint and major version.

Citation

bibtex

Lanier-Egu, Steven (2026). BloodForge Cognitive-Narrative Combat Prototype (BF-CNCP): BF-CCSF v6.0. Zenodo.
https://doi.org/10.5281/zenodo.19354466

License

The code is released under the MIT License. The framework specification is licensed under CC BY 4.0.


Made with entropy, rage, and consequences.

Feedback, bug reports, and contributions are welcome! Open an issue or pull request on GitHub.

About

Entropy-driven cognitive combat simulator. Models identity drift (Ξ“), coherence (Ξ©), collapse (π’ž), weave recovery, and cognitive veil under pressure. Includes Street/Prison Scrap Mod for brutal, no-rules fights. Official implementation of BF-CCSF v6.0.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages