Skip to content

Shmerrick/webgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

411 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shattered Concord

Shattered Concord is an interactive simulator with database-backed materials and physics-based defense calculations derived from real mechanical and thermal properties.

Project Structure

  • shared/ – canonical shared modules and datasets consumed by the web client, Node tooling, and future native game code.
  • public/shared/ – build artifacts mirrored from shared/ for static pages and the GitHub Pages deployment.
  • public/scripts/ – page-specific entry points for standalone calculators (crafting, siege, etc.).
  • src/ – React simulator and shared application utilities built by Vite.
  • scripts/ – Node utilities for updating or enriching the material datasets.

Defense Calculations

Material properties like hardness, strength, density, and thermal or electrical behavior are translated into slashing, piercing, blunt, and elemental resistances using straightforward formulas. Each raw resistance value is normalized only against materials of the same type so metals are compared with metals and wood with wood. Armor biases and optional magical attunements then adjust the normalized scores.

Live demo

Visit https://shmerrick.github.io/webgame/ to use the simulator on GitHub Pages.

Prerequisites

Installation

Install project dependencies:

npm install

Mirror the shared database into the public folder (this runs automatically before tests and builds):

npm run sync-db

Development

Build the project:

npm run build

Run the test suite:

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors