---
title: "Discussion on \"Building a Persistent AI Game Master with a React SPA, Supabase, and TypeScript\" | Hashnode"
description: "Discussion on \"Building a Persistent AI Game Master with a React SPA, Supabase, and TypeScript\". A deep technical guide to building a persistent AI Game Master: memory tiers, NPC learning loops, Supabase-centric state, setting an SPA for SEO/GEO."
url: "https://hashnode.com/posts/building-a-persistent-ai-game-master-with-a-react-spa-supabase-and-typescript/6a69f74664499daeb3b52ef4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a Persistent AI Game Master with a React SPA, Supabase, and TypeScript](https://blog.mansueli.com/building-a-persistent-ai-game-master-with-a-react-spa-supabase-and-typescript?utm_source=hashnode&utm_medium=feed)

A deep technical guide to building a persistent AI Game Master: memory tiers, NPC learning loops, Supabase-centric state, setting an SPA for SEO/GEO.

Jul 29 · 7 min read · blog.mansueli.com  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#supabase](https://hashnode.com/tag/supabase)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#seo](https://hashnode.com/tag/seo)
-   [#postgresql](https://hashnode.com/tag/postgresql)

## Written by

[Rodrigo Mansueli](https://hashnode.com/@mansueli)

@mansueli

  
[View profile](https://hashnode.com/@mansueli)

Supabase Tips

Support Engineer @Supabase | StackOverflow

## Responses 1

Markdown supported · ⌘↵ to post

[Nahid Mahmud](https://hashnode.com/@nahidmahmud555)

[Jul 30](https://hashnode.com/posts/building-a-persistent-ai-game-master-with-a-react-spa-supabase-and-typescript/6a69f74664499daeb3b52ef4/comment/6a6aafe5f21159346e3529c3)

Such an awesome write-up! Quick question though—did you face any painful debugging moments while setting this up, or did it work smoothly on the first try?
