Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<div align="center">
<img src="logo.png" width="160" height="160" alt="Causaloop Logo">
<pre style="line-height: 1; font-size: 10px; color: #ffcc00; background: transparent; border: none;">
▄██████████████████▄
██▀▀ ▐██ ▀▀██
▐█▌ ▐██ ▐█▌
▐█▌ ▄██████████▄ ▐█▌ CAUSALOOP
▐█▌ ██▀▀ ▐██ ▀▀██ ▐█▌ CORE-ENGINE
██▄▄ ▐██ ▄▄██ [LIVE-SRC]
▀██████████████████▀
</pre>
<h1>Causaloop</h1>
<p><strong>A production-grade TypeScript ecosystem for deterministic, effect-safe MVU applications.</strong></p>

Expand Down Expand Up @@ -81,6 +89,26 @@ We don't just claim stability; we prove it. Causaloop is continuously benchmarke

---

## 🎮 Featured Showcase: Causal Factory

**[Causal Factory](https://github.com/bitkojine/causal-factory)** is a high-performance industrial logistics simulation built to stress test Causaloop.

It demonstrates:

- **Massive Entity Scaling**: 100,000+ autonomous bots moving in a single tick.
- **Complex Logistics**: Dynamic supply/demand re-routing and state transition bursts.
- **The "Live-Link" Architecture**: A developer setup that hard-wires the game directly to the engine source for zero-build, instant-feedback development.

### Quick One-Line Setup

To clone the engine and the showcase game in the required sister-folder structure:

```bash
git clone https://github.com/bitkojine/causal-factory.git causal-factory && git clone https://github.com/bitkojine/causaloop.git causaloop-repo && cd causaloop-repo && pnpm install && cd ../causal-factory && pnpm install && pnpm run dev
```

---

## 🚀 Getting Started

### Prerequisites
Expand Down
Binary file removed logo.png
Binary file not shown.
11 changes: 11 additions & 0 deletions packages/core/src/dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ import {
UpdateContext,
} from "./types.js";
import { Subscription, diffSubscriptions } from "./subscriptions.js";

export const __CAUSALOOP_DEV_IDENTITY__ = `
▄██████████████████▄
██▀▀ ▐██ ▀▀██
▐█▌ ▐██ ▐█▌
▐█▌ ▄██████████▄ ▐█▌ CAUSALOOP
▐█▌ ██▀▀ ▐██ ▀▀██ ▐█▌ CORE-ENGINE
██▄▄ ▐██ ▄▄██ [LIVE-SRC]
▀██████████████████▀
`;

export interface DispatcherOptions<
M extends Model,
G extends Msg,
Expand Down