Skip to content

Latest commit

ย 

History

History
57 lines (43 loc) ยท 1.53 KB

File metadata and controls

57 lines (43 loc) ยท 1.53 KB

Elemental Arena

A strategic element-based battle game built with React and TypeScript. Players engage in rock-paper-scissors style combat using three elements (Earth, Water, Fire) with mana wagering mechanics and elemental upgrades

Installation & Setup

npm install
npm start   # Start development server

The application will run on http://localhost:3000

Build Commands

npm run fix     # Fix linting
npm run quality # Run test suite
npm run build   # Create production build
npm run release # Deploy to GitHub Pages

Relay Symbiotic

graph TB
    subgraph "๐ŸŽฎ Client Layer"
        Player[๐Ÿ‘ค Player]
        GameUI[๐ŸŽฏ Game Interface<br/>Craft โ€ข Battle โ€ข Trade]
    end

    subgraph "โšก Off-Chain Layer (Gasless)"
        API[๐Ÿ“ก Game API<br/>HTTP/WebSocket]
        Validators[๐Ÿ”— Validator Network<br/>Symbiotic Consensus]
    end

    subgraph "โ›“๏ธ On-Chain Layer (Settlement)"
        Contracts[๐Ÿ“œ Smart Contracts<br/>GameManager + MANA Token]
    end

    Player -->|"Play Game"| GameUI
    GameUI -.->|"๐Ÿ†“ NO GAS FEES"| API
    API -->|"Validate & Batch"| Validators
    Validators -->|"Consensus + Proof"| Contracts

    Contracts -.->|"State Updates"| Validators
    Validators -.->|"Real-time"| API
    API -.->|"Live Updates"| GameUI

    style Player fill:#ff9999
    style GameUI fill:#ffcc99
    style API fill:#99ccff
    style Validators fill:#99ff99
    style Contracts fill:#cc99ff
Loading

See more elemgame relay symbiotic