About

Tech Stack

Frontend

  • Pure HTML5, CSS3, and JavaScript (ES6+)
  • ES6 Modules with native browser support
  • CSS Variables for theming (10+ themes available)
  • No frameworks or build tools required

Name Database

  • SQL.js - SQLite compiled to WebAssembly
  • Runs entirely in the browser, no server required
  • Python scripts for database generation and management
  • Weighted random selection based on frequency data

Architecture

  • Three-layer design: Pure logic, Domain modules, UI layer
  • Core libraries (dice-library.js, card-library.js) contain pure functions
  • Domain modules (fate.js, blades.js, tarot.js) implement game systems
  • Strict separation of logic and DOM manipulation

Development

  • Python HTTP server for local development
  • Vitest for unit testing (224+ tests)
  • JSDoc comments on all exported functions
  • Test-driven development practices

Source Code

This project is open source. View the code, report issues, or contribute on GitHub.

Credits

Made with Claude Code, verified by humans.