Project vision

docs/projectvision.md

FeudalSim Project Vision

Project Overview

FeudalSim is a medieval, web-based MMO strategy-RPG set on a realistic world map. Players begin in a country of their choice with their own starting region, including one city, one village, and one castle per civilization.

Key Features

  • Node-based world map with realistic geography
  • Economic simulation with trade, production, and market dynamics
  • Political strategy with hierarchical titles and governance
  • Social interaction between players and AI-driven NPCs
  • Day/night cycle and weather effects that impact gameplay
  • Corruption and intrigue mechanics

Technical Stack

  • Frontend: Next.js (React) + Tailwind + shadcn
  • Backend: Node.js + PostgreSQL
  • Realtime events: Socket.IO or WebSockets
  • Map logic: Dijkstra / A* pathfinding
  • Authentication: Supabase Auth
  • AI/NPC: OpenAI / LangChain with memory

MVP Phase 1

  • Node-based map with 5 starting regions
  • Authentication and character creation
  • Basic travel and routes with risk factors
  • Market and economy with price fluctuation
  • Day/night cycle and weather conditions
  • PvE corruption events
  • Simple AI-NPC interactions

Initial Tasks

  • Set up the node-based world map system
  • Implement basic character creation
  • Create the travel system between nodes
  • Develop the economic simulation
  • Build the UI components for the game interface

All articles