Commit Graph

1 Commits

Author SHA1 Message Date
Julie 3aeb69a8ef Initial scaffold: Rust engine + WASM + web/server skeleton
Engine (Rust → WASM):
- pseudohash + LuaJIT-compatible PRNG (LCG with tausworthe step)
- Per-run instance cache (get_node_child ported from Immolate)
- Item tables for all 12 categories (60 common jokers, 5 legendaries, etc.)
- Source derivations: next_joker, next_tag, next_voucher, next_boss
- Filter DSL with bytecode compiler and 5 clause kinds
- WASM bundles: scalar (135KB) and SIMD-enabled (147KB)
- 14/14 tests passing; native throughput 552k seeds/sec with real derivations

Web:
- Vite + React + TypeScript scaffold
- COOP/COEP headers for SharedArrayBuffer
- Engine loader + worker stubs ready for milestone 2

Server:
- Optional Node.js WebSocket worker (off by default per user request)
- Dockerfile + README with honest cloud-speedup math

Built from scratch in one session — no Balatro source code reused.
2026-06-28 21:24:57 +00:00