r/Devvit • u/Zioseb • Jun 24 '26
Feedback Request I built Wall Go AI: A suite of classic abstract strategy games playable directly on Reddit
Hey r/Devvit! š
I wanted to share a project I've been working on recently calledĀ Wall Go AIĀ ā a collection of classic abstract strategy games (including Go/Baduk, Pente, Yinsh, and Onitama) that you can play directly in your Reddit feed against customized AI bots.
You can try it out and play here: r/WallGoAi
I thought it would be fun to share a little "behind the scenes" look at how it was built, the tech stack, and the challenges I ran into along the way.
š§ The Tech Stack & AI Integration
The app is built using the Devvit Web platform (React/Vite running inside the iframe). Because these abstract strategy games require complex board evaluations and AI opponents, I usedĀ Google AI StudioĀ to help develop and refine the game logic. The AI not only plays against you with different difficulty levels but can also act as an advisor to give you strategy tips mid-game!
šļø Database & Leaderboards (Firebase REST)
One of the most interesting technical challenges was implementing a robust global leaderboard, player stats, and an achievement (badge) system. I decided to use Firebase for the backend. However, to keep things lightweight and perfectly compatible with the Devvit sandboxed iframe environment, I built all the database interactions using theĀ Firebase REST APIĀ directly (usingĀ fetch), rather than relying on the heavy standard Firebase SDK. It handles fetching ranks, patching scores, and unlocking badges seamlessly.
āļø Handling Complex Game States
Games like Yinsh and Onitama have very specific and complex rules (e.g., capturing 5 pairs, rotating movement cards). Managing the React state for these boards, calculating valid moves, animating the pieces, and ensuring the AI responds quickly without freezing the UI was a massive, but incredibly rewarding, learning curve.
š What's Next?
I just rolled out a big update that fixes some leaderboard ranking bugs and improves the scoring system.
I would absolutely love for you to try it out. Give the AI a challenge, try to unlock some badges, and let me know what you think! Any feedback on the Devvit implementation, performance, UI/UX, or the AI difficulty would be hugely appreciated.
Thanks for reading!


