Hasham Abdullah

DATA & AI ENGINEER · FULL-STACK

Back to All Projects
Distributed Monorepo · Spring Boot 3.5 + Python + TensorFlow · 2025

AI Gaming Suite

Distributed gaming platform built with Spring Boot 3.5, React 19, FastAPI, RabbitMQ, MCTS/CNN ML models, and Keycloak OAuth2+PKCE.

Spring Boot 3.5React 19FastAPITensorFlowRabbitMQKeycloak

Core Pattern

Spring Modulith

AI Opponents

MCTS + CNN ML

Security

Keycloak PKCE

Project Overview

Professional monorepo for a distributed gaming platform built with Spring Boot 3.5 (Spring Modulith & Hexagonal Architecture), React 19, FastAPI, and TensorFlow. Synchronizes Java platform services with Python MCTS & CNN opponents over RabbitMQ, alongside a ChromaDB RAG gameplay assistant.

  • Spring Modulith core enforcing compile-time domain boundaries across lobbies and games.
  • Hexagonal Architecture + RabbitMQ event bus for Java-to-Python synchronization.
  • Python MCTS engine & TensorFlow CNN models logging evaluations to PostgreSQL.
  • FastAPI + ChromaDB + OpenAI RAG assistant secured in Docker Compose via Keycloak.

System Design

Architecture Breakdown

React 19 SPA authenticated via Keycloak talks to a Spring Boot 3.5 Modulith core, exchanging events over RabbitMQ with Python MCTS/CNN bots and a FastAPI RAG assistant.

client

React 19 + Keycloak

OAuth2 + PKCE secured arena

orchestration

Spring Boot 3.5

Modulith core & RabbitMQ bus

model

MCTS + TensorFlow

CNN bots & FastAPI RAG assistant

data

PostgreSQL & Chroma

Match telemetry & embeddings

Decisions & Trade-offs

Engineering Journey

01 / Boundaries

Keeping a multi-team monorepo modular

Distributed team modules quickly tangle into circular dependencies without architectural guardrails.

Trade-off: Spring Modulith enforces compile-time module verification while RabbitMQ cleanly decouples Java from Python AI workers.

Ask About AI Gaming Suite

Answers are grounded directly in the full GitHub README and architecture notes.