How 17cult-studios/rpggamev3 works
This is a terminal-based RPG with a TCP client/server mode. The player-facing loop connects to a server, updates and renders the game, sends changed player positions, and applies received map and actor updates. The client has separate world, actor, and rendering responsibilities; the server has map generation, NPC behavior, and TCP handling. Source excerpts are limited, so links between components are included only where calls or references are shown; the README provides no additional capability documentation.
Main entry points: main.cpp Client Loop · Game.h Game State · Renderer.cpp ASCII Renderer · ServerTCP.cpp TCP Server
Components 15
Client Runtime
- Game State
RPG_Game/RPG_Game/Game.h - Client Loop
RPG_Game/RPG_Game/main.cpp - TCP Client
RPG_Game/RPG_Game/main.cpp
World And Actors
- Player
RPG_Game/RPG_Game/Player.h - Actor
RPG_Game/RPG_Game/Actor.h - Character
RPG_Game/RPG_Game/Character.h - Client NPC
RPG_Game/RPG_Game/NPC.h - Client Map
RPG_Game/RPG_Game/Map.h
Rendering
- Terminal Buffer
RPG_Game/RPG_Game/Buffer.h - ASCII Renderer
RPG_Game/RPG_Game/Renderer.cpp
Server Runtime
- TCP Server
RPG_Game/Server/ServerTCP.cpp - Server Map
RPG_Game/Server/Server_Map.cpp - Server NPC
RPG_Game/Server/Server_NPC.cpp - Server Data Types
RPG_Game/Server/Data.h
Other components
- Player
Connections 6
- Player → Client Loop: plays
RPG_Game/RPG_Game/main.cpp - Client Loop → Game State: updates and renders
RPG_Game/RPG_Game/main.cpp - Client Loop → TCP Client: connects and exchanges
RPG_Game/RPG_Game/main.cpp - TCP Client → Game State: applies map and actor data
RPG_Game/RPG_Game/main.cpp - ASCII Renderer → Terminal Buffer: draws into
RPG_Game/RPG_Game/Renderer.cpp - TCP Server → Server Map: references map subsystem
RPG_Game/Server/ServerTCP.cpp