GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - YTFL/WarMatrix: WarMatrix is a tactical simulation and command console application featuring a 3D tactical map interface, a scalable backend simulation engine, and an AI integration layer for an immersive operational dashboard.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

217 Commits
217 Commits

Folders and files

NameName
Last commit message
Last commit date
.clinerules
.clinerules
 
 
.github
.github
 
 
.idx
.idx
 
 
ai_server
ai_server
 
 
api
api
 
 
backend
backend
 
 
public
public
 
 
screenshots
screenshots
 
 
scripts
scripts
 
 
src
src
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mega-linter.yml
.mega-linter.yml
 
 
.modified
.modified
 
 
.vercelignore
.vercelignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
GEMINI.md
GEMINI.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
additions.md
additions.md
 
 
apphosting.yaml
apphosting.yaml
 
 
components.json
components.json
 
 
improvements.md
improvements.md
 
 
middleware.ts
middleware.ts
 
 
next-env.d.ts
next-env.d.ts
 
 
next.config.ts
next.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.mjs
postcss.config.mjs
 
 
requirements.txt
requirements.txt
 
 
setup.md
setup.md
 
 
tailwind.config.ts
tailwind.config.ts
 
 
tsconfig.json
tsconfig.json
 
 
vercel.json
vercel.json
 
 

Repository files navigation

WarMatrix: AI-Enabled Tactical Simulation Console

License: AGPL v3 Next.js 15 FastAPI React 19 Tailwind CSS Three.js TypeScript Python PyTorch NVIDIA CUDA

Tested on:

WarMatrix is a high-fidelity, situational awareness platform that bridges the gap between tactical simulations and modern AI analytics. Designed for immersive command experience, it provides a unified "Glass Cockpit" for operational commanders across Land, Air, and Sea domains.


🖼️ Mission Visuals

The WarMatrix interface is designed for high-density information display and tactical immersion.

Main Landing Page Scenario Builder
Landing Page Scenario Builder

2D Strategic Map 3D Tactical Map
2D Strategic Map 3D Tactical Map

Command Console Mission AI Briefing Final Mission Report
Command Console AI Briefing Final Report

🎖️ Operational User Perspective: A 4-Step Narrative

The WarMatrix experience follows a structured operational workflow. From the initial terminal uplink to the final after-action review, the user acts as the central Node of Intelligence.

Step 1: Secure Terminal Uplink & Domain Entry

The user enters a Classified Command Console built with a dark-ops aesthetic—featuring scanline overlays and tactical grids. The "War Room" interface initializes with a secure system handshake, ensuring the user is placed into a focused, distraction-free strategic environment.

Step 2: Intelligent Scenario Synthesis

Using the AI Scenario Builder, the commander defines the battlefield parameters:

  • Environmental Context: Selection of terrain (Highlands, Urban, Desert) and real-time weather effects (Storm, Fog, Sandstorm).
  • ORBAT (Order of Battle): Strategic deployment of friendly units and identification of enemy threats via a 3D tactical grid.
  • Strategist Briefing: The embedded AI Strategist synthesizes the deployment data, providing a high-level narrative briefing and initial tactical objectives.

Step 3: Real-Time Tactical Command Loop

Once the simulation is live, the user enters the active operational phase:

  • Visual Intelligence: A 3D map (Three.js/Fiber) displays unit positions, movement vectors, and combat encounters.
  • Natural Language Command: Orders are issued via the Secure Comms Console (e.g., "Move 1st Battalion to the bridge and hold for reinforce") instead of rigid menu clicks.
  • Simulation Authority: The backend Python engine processes each command, calculating maneuver success, combat attrition, and objective control in real-time.

Step 4: Post-Operation Debrief (AAR)

Upon mission completion, the system transitions to a Final Mission Report (After-Action Review):

  • Casualty & Efficiency Analysis: Detailed metrics on personnel losses, armor damage, and ammunition expenditure.
  • Strategic Scoring: The AI evaluates the commander's performance, providing a narrative critique of the tactics employed and suggesting improvements for future engagements.

🛠️ Technical Architecture

🖥️ Frontend (Command UI)

  • Framework: Next.js 15 (React 19)
  • 3D Map Engine: Three.js via React Three Fiber / @react-three/drei
  • Styling & Components: Tailwind CSS, Radix UI primitives, Lucide Icons
  • Animations: Framer Motion for smooth, tactical UI transitions
  • State Control: React hooks for low-latency synchronization with the simulation backend.

⚙️ Backend (Sim Engine)

  • API Layer: Python FastAPI (Uvicorn)
  • Core Math: Custom Python-based simulation engine (backend/engine/) handling pathfinding, combat probability, and state persistence.

AI Integration: Synthetic Strategy

  • Engine: Hybrid AI Backend (ai_server/) supporting local and cloud-based LLMs.
  • Model Layer: Fine-tuned local models (e.g. Qwen, Llama) or Cloud APIs (e.g. Gemini).
  • Functionality:
    • Dynamic scenario generation based on user parameters.
    • Narrative transformations of raw simulation data into military-grade briefings.
    • Strategic prediction of enemy behavior.

📂 Project Structure

  • src/: Next.js App Router, custom components (Map, HUD, Console), and client-side simulation logic.
  • backend/: FastAPI implementation and the core simulation math for the battlefield engine.
  • ai_server/: Local LLM backend server and model checkpoint management.
  • docs/: Technical blueprints and design specifications.
  • scripts/: Development utilities for service orchestration.

🚀 Getting Started

To initialize the WarMatrix environment, configure the simulation engine, and deploy the AI Strategist, please refer to our central onboarding documentation:

👉 Universal Setup Guide

⚡ Quick Start

# Install dependencies
npm install

# Start the full tactical suite
npm run dev

📜 License

WarMatrix is released under the GNU AFFERO GENERAL PUBLIC LICENSE v3. See LICENSE for more details.

About

WarMatrix is a tactical simulation and command console application featuring a 3D tactical map interface, a scalable backend simulation engine, and an AI integration layer for an immersive operational dashboard.

warmatrix.vercel.app

Resources

Readme
AGPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.