MathWays is a VS Code extension for game math workflows. It helps you load a game configuration JSON file, inspect distributions, and run transformations from a sidebar UI.
Features
Activity bar view with a dedicated webview sidebar.
JSON loader for game configuration files.
Visualizer that shows symbol counts and percentages by set.
Script runner for common symbol/set operations:
Replace symbol by percentage
Adjust weights
Adjust symbol counts by rules
Insert symbols by set
Generate distributions
How to use
Open VS Code and open your game workspace.
Open the MathWays activity bar view.
Click Load JSON Configuration and pick your game JSON file.
Use:
Visualizer tab to inspect symbol stats
Scripts tab to configure and run a transformation
Review the result message and output file path shown by the extension.
Requirements
VS Code 1.109.0 or newer.
A valid game JSON file compatible with the scripts.
Commands
slotMath.calculate - Triggers the sample calculate command.
Known limitations
No workspace settings are contributed yet.
The extension currently focuses on JSON workflows and does not include in-editor schema validation.