Skip to content
/ IronHaven_AIMMO Public template

๐Ÿ™๏ธ Cyberpunk MMO with AI-driven NPCs, procedural worlds, and emergent gameplay | TypeScript + Three.js + WebGL

License

Notifications You must be signed in to change notification settings

ereezyy/IronHaven_AIMMO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

55 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

IronHaven AIMMO Banner

๐Ÿ™๏ธ IronHaven AIMMO

Next-Generation AI-Powered Massively Multiplayer Online Game

Build Status TypeScript React Three.js Vite

Enter a cyberpunk metropolis where AI shapes reality and every decision matters

๐ŸŽฎ Play Now โ€ข ๐Ÿ“– Documentation โ€ข ๐Ÿค Contributing โ€ข ๐ŸŽฏ Roadmap


๐ŸŒŸ Overview

IronHaven AIMMO is a cutting-edge browser-based MMO that combines the immersive world of cyberpunk with advanced AI-driven gameplay mechanics. Built with modern web technologies, it delivers a seamless 3D gaming experience directly in your browser.

๐ŸŽฏ Core Features

  • ๐Ÿค– AI-Powered NPCs: Dynamic characters with emergent behaviors and adaptive storylines
  • ๐Ÿ™๏ธ Living Cyberpunk City: Procedurally generated urban environments with day/night cycles
  • โš”๏ธ Advanced Combat System: Real-time tactical combat with weapon customization
  • ๐Ÿš— Vehicle Dynamics: Comprehensive driving system with multiple vehicle types
  • ๐Ÿ‘ฎ Dynamic Police System: Reactive law enforcement with escalating response levels
  • ๐ŸŽต Immersive Audio: 3D spatial audio with dynamic music adaptation
  • ๐ŸŒ Procedural World: Infinite city generation with unique districts and landmarks

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Modern browser with WebGL 2.0 support

Quick Start

# Clone the repository
git clone https://github.com/ereezyy/IronHaven_AIMMO.git
cd IronHaven_AIMMO

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

๐ŸŽฎ Controls

Action Key Description
Movement WASD Move character
Camera Mouse Look around
Sprint Shift Run faster
Jump Space Jump/Parkour
Interact E Interact with objects/NPCs
Combat Left Click Attack/Shoot
Inventory Tab Open inventory
Map M Toggle minimap

๐Ÿ—๏ธ Architecture

Technology Stack

graph TD
    A[React 18] --> B[Three.js/R3F]
    A --> C[TypeScript]
    B --> D[3D Rendering]
    C --> E[Type Safety]
    F[Zustand] --> G[State Management]
    H[Vite] --> I[Build System]
    J[Tailwind CSS] --> K[Styling]
    L[AI Engine] --> M[NPC Behaviors]
Loading

๐Ÿงฉ Component Structure

src/
โ”œโ”€โ”€ components/           # React components
โ”‚   โ”œโ”€โ”€ Game.tsx         # Main game container
โ”‚   โ”œโ”€โ”€ AudioSystem.tsx  # 3D audio management
โ”‚   โ”œโ”€โ”€ CombatSystem.tsx # Combat mechanics
โ”‚   โ”œโ”€โ”€ VehicleSystem.tsx# Vehicle physics
โ”‚   โ”œโ”€โ”€ PoliceSystem.tsx # Law enforcement AI
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ lib/                 # Core libraries
โ”‚   โ”œโ”€โ”€ ai.ts           # AI behavior engine
โ”‚   โ””โ”€โ”€ worldGenerator.ts# Procedural generation
โ””โ”€โ”€ assets/             # Game assets

๐ŸŽฎ Game Systems

๐Ÿค– AI Engine

The AI system powers dynamic NPC behaviors, adaptive storylines, and emergent gameplay:

  • Behavior Trees: Complex decision-making for NPCs
  • Machine Learning: Adaptive responses to player actions
  • Procedural Dialogue: Context-aware conversations
  • Dynamic Events: AI-generated missions and encounters

๐Ÿ™๏ธ World Generation

IronHaven features a living, breathing cyberpunk metropolis:

  • Procedural Districts: Unique neighborhoods with distinct characteristics
  • Dynamic Weather: Rain, fog, and atmospheric effects
  • Traffic Simulation: Realistic vehicle and pedestrian movement
  • Economic System: Supply and demand affecting prices and availability

โš”๏ธ Combat System

Tactical real-time combat with depth and strategy:

  • Weapon Customization: Modify and upgrade firearms
  • Cover System: Environmental protection mechanics
  • Damage Models: Realistic ballistics and armor systems
  • Special Abilities: Cybernetic enhancements and skills

๐Ÿš— Vehicle System

Comprehensive transportation with realistic physics:

  • Multiple Vehicle Types: Cars, motorcycles, trucks, and futuristic vehicles
  • Customization: Visual and performance modifications
  • Physics Simulation: Realistic handling and damage
  • Traffic Integration: Seamless interaction with city traffic

๐Ÿ› ๏ธ Development

๐Ÿ”ง Setup Development Environment

# Install dependencies
npm install

# Start development server with hot reload
npm run dev

# Run linting
npm run lint

# Type checking
npx tsc --noEmit

๐Ÿงช Testing

# Run unit tests
npm test

# Run integration tests
npm run test:integration

# Performance testing
npm run test:performance

๐Ÿ“ฆ Building

# Development build
npm run build:dev

# Production build
npm run build

# Analyze bundle
npm run analyze

๐ŸŽฏ Roadmap

๐Ÿš€ Version 1.0 (Current)

  • Core 3D engine implementation
  • Basic combat and movement systems
  • Procedural world generation
  • AI-powered NPCs
  • Vehicle physics system

๐ŸŒŸ Version 1.1 (Next Release)

  • Multiplayer networking infrastructure
  • Character progression system
  • Advanced crafting mechanics
  • Guild/faction systems
  • Mobile optimization

๐Ÿ”ฎ Version 2.0 (Future)

  • VR/AR support
  • Blockchain integration for NFT items
  • Advanced AI companions
  • Cross-platform play
  • Modding support

๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help:

๐Ÿ› Bug Reports

  • Use the issue tracker
  • Include detailed reproduction steps
  • Provide browser and system information

๐Ÿ’ก Feature Requests

  • Discuss ideas in discussions
  • Follow the feature request template
  • Consider implementation complexity

๐Ÿ”ง Development

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“‹ Development Guidelines

  • Follow TypeScript best practices
  • Maintain 80%+ test coverage
  • Use conventional commit messages
  • Update documentation for new features

๐Ÿ“Š Performance

๐ŸŽฏ Optimization Targets

Metric Target Current
FPS 60+ 55-60
Load Time <3s 2.1s
Memory Usage <512MB 380MB
Bundle Size <2MB 1.8MB

๐Ÿ”ง Performance Features

  • Level-of-Detail (LOD): Automatic quality scaling based on distance
  • Frustum Culling: Only render visible objects
  • Texture Streaming: Dynamic texture loading
  • Audio Optimization: Spatial audio with distance attenuation
  • Network Optimization: Efficient data synchronization

๐ŸŽจ Assets & Credits

๐ŸŽต Audio

  • Music: Original cyberpunk soundtrack
  • SFX: High-quality 3D spatial audio effects
  • Voice: Professional voice acting for key NPCs

๐ŸŽจ Visual Assets

  • 3D Models: Custom-designed cyberpunk assets
  • Textures: 4K PBR materials
  • Animations: Motion-captured character animations
  • UI: Custom cyberpunk-themed interface

๐Ÿ™ Acknowledgments

  • Three.js Community for the amazing 3D engine
  • React Three Fiber for seamless React integration
  • Cyberpunk Genre for endless inspiration

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ”— Links


๐ŸŽฎ Ready to enter IronHaven? The future is waiting...

Built with โค๏ธ by the IronHaven development team

About

๐Ÿ™๏ธ Cyberpunk MMO with AI-driven NPCs, procedural worlds, and emergent gameplay | TypeScript + Three.js + WebGL

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  

Languages