Skip to content

Numerology Wars

wars.tribewarez.com

An MMO real-time strategy game where players control fleets in a galaxy shaped by numerology. Birth dates determine powers and abilities -- life path, destiny, and soul numbers affect ship stats, combat bonuses, and faction alignment.

Gameplay

Core Mechanics

  • Fleet control -- build and command ships across a space map
  • Combat -- real-time PvP and PvE battles
  • Resource gathering -- mine and refine materials
  • Numerology powers -- stats derived from life path, destiny, and soul numbers
  • Master numbers -- 11, 22, and 33 grant special abilities

Hub Areas

AreaPurpose
MarketBuy and sell resources
Equipment ShopPurchase ship upgrades and gear
RefineryProcess raw materials
HangarManage and equip ships
Combat ZoneEnter PvP and PvE arenas

Progression

  • Missions -- quest chains with XP and resource rewards
  • Achievements -- tracked goals that unlock bonuses
  • Leveling -- XP-based progression unlocking new ships and abilities

Architecture

ComponentStackRole
clientNext.js 14, React 18, TypeScript, TailwindGame frontend with space map and hub UI
serverExpress, Socket.IO, TypeScriptGame logic, real-time multiplayer, auth
databasePostgreSQLUsers, players, ships, missions, achievements

Real-Time Multiplayer

The server uses Socket.IO for real-time game state synchronization:

  • Player movement and fleet positioning
  • Combat events and damage calculations
  • Resource updates and market transactions
  • Chat and player interactions

Game Engine

Server-side modules:

ModuleFilePurpose
Game EnginegameEngine.tsCore game loop and state management
Numerology EnginenumerologyEngine.tsLife path / destiny / soul calculations
Mission SystemmissionSystem.tsQuest tracking and rewards
Achievement SystemachievementSystem.tsGoal tracking and unlock logic

Client State

The frontend uses Zustand for client-side game state (gameStore.ts), synchronized with the server via Socket.IO events.

Tech Stack

LayerTechnology
FrontendNext.js 14, React 18, TypeScript
StateZustand
UITailwind CSS
MultiplayerSocket.IO (client + server)
BackendExpress, TypeScript
DatabasePostgreSQL
AuthJWT, bcrypt

Relation to PoT-O & RPC Proposals

Numerology Wars can optionally integrate PoT-O-derived tokens and DeFi primitives:

  • Accept PTtC/NMTC for cosmetic or progression-related purchases, treating them as tokens minted and distributed according to PoT-O (TW-RPC-001) and staking/vault RFCs (TW-RPC-003/004).
  • Surface staking- or vault-based benefits (for example, boosts for stakers or treasury-funded tournaments) using on-chain state from the tribewarez-staking and tribewarez-vault programs.
  • Reference the PoT-O RFC Series and Implementation Mapping to ensure on-chain program IDs and economics match the core standards.

Docker

The project includes a full docker-compose.yml:

ServicePurpose
postgresPostgreSQL database
backendExpress + Socket.IO server
frontendNext.js client
nginxReverse proxy

A manage.sh script provides shortcuts for development, production, migrations, logs, and cleanup.

Database Schema

Key tables:

  • users -- accounts, credentials, sessions
  • players -- game profiles, numerology data, stats
  • ships -- fleet inventory, equipment, upgrades
  • missions -- quest definitions and player progress
  • achievements -- goal definitions and completion state

TribeWarez Blockchain Ecosystem