Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: A Wordle implementation in pure SQL (github.com/panispani)
4 points by panpan2 8 days ago | hide | past | favorite | discuss
Hi HN,

I made a Wordle clone where the game runs inside PostgreSQL. The game state lives in tables, and a SQL function acts as the game engine — you pass in an input, and it returns the new state.

Other than the game loop to feed inputs, everything happens in SQL. This was a fun project in pushing SQL beyond its usual use case, sharing in case others find it interesting too.

I guess you could extend this idea to any turn-based game (as long as you have the patience to implement it in SQL).






Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: