Fantasy
Fantasy is a high-performance, distributed C game server framework designed for large-scale online games and general business applications. Built on .NET 8.0 and C 12.0, it features a zero-reflection architecture that leverages source generators and Native AOT support for maximum speed and efficiency. The framework utilizes an Entity-Component-System design pattern to optimize real-time processing and concurrency. Fantasy supports multiple protocols including TCP, KCP for low-latency UDP transmission, WebSocket for H5 and Unity WebGL, and HTTP for RESTful APIs and administrative tools. Key capabilities include an intelligent roaming system for cross-server communication, automatic entity addressing, and robust data persistence. A standout feature is its AI integration, providing a dedicated skill for agents to assist in generating code, designing systems, and reviewing compliance with framework standards. It is ideal for developing MMORPGs, real-time competitive games, turn-based card games, open-world experi