deterministic-math-guidelines

Community

Ensure cross-platform determinism in game logic.

Authorgmliao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Deterministic math across platforms is essential for consistent gameplay and synchronization in SwiftStateTree. This skill provides guidelines to avoid platform-dependent math pitfalls and ensures consistent results.

Core Features & Use Cases

  • Enforces use of deterministic math methods and semantic types
  • Provides rules for fixed-point arithmetic, vector operations, and collision-related calculations
  • Helps teams maintain cross-platform consistency in physics, movement, and angle calculations

Quick Start

Use the deterministic-math-guidelines skill to ensure cross-platform deterministic behavior in physics and movement calculations. For example, replace platform-dependent math calls with DeterministicMath methods and apply semantic types for positions and vectors.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: deterministic-math-guidelines
Download link: https://github.com/gmliao/swift-state-tree/archive/main.zip#deterministic-math-guidelines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.