C++ arena-game flow and monkey characters.
C++ arena-game flow and monkey characters.
A C++ team-built arena game with monkeys, banana-based attacks, obstacles and special abilities. The project combines game logic, desktop tooling and supporting persistence/network components.
*File metrics count tracked files after excluding common generated build folders. The project status is an editable draft classification.
Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.
C++ arena-game flow and monkey characters.
Banana attacks, movement, obstacles and abilities.
Game-facing tooling and server/data components.
Technical architecture drawn from the repository and supplied documentation.
The project uses C++, Qt 6, SQLite, WebSocket as its documented technical foundation.
The source tree and supplied README describe the primary modules; individual files and runtime behaviour may vary by platform.
Lobby-driven game session creation
int GameManager::CreateGameFromLobby(int lobbyId) {
std::lock_guard<std::mutex> lock(m_gameMutex);
int gameId = m_nextGameId++;
auto lobby = lobbyManager->GetLobby(lobbyId);
if (!lobby) throw std::runtime_error("Lobby not found");
auto gameState = std::make_shared<GameState>();
for (const auto& [playerId, isReady] : lobby->GetPlayers()) {
gameState->AddPlayer(playerId);
}
m_games[gameId] = gameState;
m_runningGames[gameId] = false;
return gameId;
}
Games are coordinated by a mutex-protected manager and individual worker loops.
bool GameManager::StartGameLoop(int gameId) {
std::lock_guard<std::mutex> lock(m_gameMutex);
if (m_runningGames[gameId]) return true;
m_runningGames[gameId] = true;
try {
m_gameThreads[gameId] = std::thread(&GameManager::GameLoop, this, gameId);
return true;
} catch (const std::exception& e) {
Screenshots from supplied documentation and repository media. Missing visuals remain placeholders rather than invented screens.
Technology overview: C++, Qt 6, SQLite, WebSocket, Crow. The list reflects documented tools, dependencies and proposed components; for planned projects it does not prove implementation.
File types identified: 50 .cpp, 48 .h, 4 .cppm
Explore the public repository, source code and project documentation on GitHub.