athlos 0.0.5
athlos: ^0.0.5 copied to clipboard
A Dart package for implementing multiplayer online games.
0.0.5 #
Implemented HTTP client and server:
- Added
HttpClientandHttpServerimplementations with support for routing and common HTTP methods. - Introduceed
HttpRequestContextfor simplified response handling (JSON, text, binary). - Added
Serviceabstract class to the core service layer. - Included examples and tests for HTTP client and server functionality.
0.0.4 #
(a) Implemented TCP Client/Server and introduced logging components (file, console).
- Added
TcpClientandTcpServerimplementations with support for framed messages using a 4-byte length prefix. - Introduced
tcpConnectionWorkerMainto handle TCP message reassembly in a dedicated isolate. - Implementd
NetworkLoggerfor configurable console and file logging across UDP and TCP components. - Enhanced
UdpServerandUdpClientwith logging and lifecycle callbacks (onClientConnected,onClientDisconnected). - Added comprehensive tests for TCP networking, client lifecycle events, and network logging.
- Exported new TCP and logging components in the main library file.
(b) Implementing gateway routing for TCP/UDP:
- Added
GatewayRelayto orchestrate authentication, matchmaking, and session routing. - Implemented
GatewayTcpServerandGatewayUdpServerto handle client gateway requests. - Added pluggable services for authentication (
GatewayAuthenticator), matchmaking (GatewayMatchmaker), load balancing (GatewayLoadBalancer), and DDoS protection (GatewayDdosGuard). - Added
BackendNodeStorefor optional file-backed persistence of backend game servers. - Defined
GatewayPacketprotocol and opcodes for client-gateway communication. - Updated
athlos.dartto export new gateway models, services, and runtime classes. - Added comprehensive tests for
GatewayRelay,GatewayTcpServer, and backend management. - Provided a functional REPL example for dynamic backend management in
athlos_example.dart.
0.0.3 #
- Basic UDP Server.
0.0.2+1 #
- Exported API.
0.0.2 #
- Model updates:
- Achievements
- Entity types
- Lobby
- Logging
- Monetization
- Notifications
- Resources
- Social (messaging)
- Other renaming/refactoring.
0.0.1+1 #
- Exported model, made available to consumers.
0.0.1 #
- Initial version.
- Data model (
/core)- Positioning, direction, and orientation models.
- World model.
- Session models.
- Terrain model.
- State models.
- Entity model.
- Action model.
- Player model.
- Team model.
- Leaderboard model.