Behind the Grid

Tech Stack

  1. Architecture Overview

Front End

• Next.js: A React-based framework that provides server-side rendering and static site generation, enabling fast and dynamic user experiences.

• Chakra UI: A modern component-based UI library offering flexibility, accessibility, and a clean design system for seamless front-end development.

Back End

• Python: A versatile and powerful programming language for building scalable and efficient backend processes.

• FastAPI: A high-performance framework for building APIs with Python, ensuring rapid development and robust API design.

• Uvicorn: An asynchronous web server designed for modern frameworks like FastAPI, optimized for high concurrency and low latency.

AI & Data Handling

• LLM (Large Language Models): Leveraging Anthropic for advanced natural language understanding and LangChain for building dynamic conversational logic and chaining AI processes effectively.

• Vector Database (Qdrant): Qdrant powers semantic search and similarity-based queries, enabling efficient data retrieval and dynamic world-state management.

• MongoDB: A NoSQL database providing flexibility, scalability, and support for complex hierarchical data structures, making it ideal for storing world-building data, player logs, and events.

  1. Data Flow and Storage

Managing data lifecycle to proces, store, and retrieve data that influencing the game state, such as world_state, events, and player_logs.

  1. AI and NLP Integration

Powering narrative generation for each player interactions; designed and refined to maintain coherence. With NLP that helps interpret user inputs and maps them to predefined actions.

  1. Game Logic and Mechanics

Introducing logic for ripple effects where minor player actions impacting larger world events and decision trees of how player choices trigger events.

  1. Blockchain Utilization

Token gated access, gameplay enhancement, and future blockchain plans.

  1. Security and Scalability

Data protection and breach prevention, while ensuring scalability to supports growth in the player base and data volume.

  1. Version Control and Deployment

Utilize Git, CI/CD pipelines, and environment separation for dev, staging, and production. With FastAPI and Uvicorn to handle requests and API interactions.

  1. Vector Database (VectorDB) Usage

Qdrant for storing semantic embeddings, with search optimization to improves player experience through quick context retrieval.

  1. Testing and Quality Assurance

Unit testing to ensure API and AI logic work as expected. Load testing to handle spikes in user activity.

  1. Roadmap for Technical Development

Upcoming technical milestones, such as implementing advanced AI features, expanding game mechanics, and adding new blockchain functionalities. Stay tuned.

Last updated