Show HN: A Wordle implementation in pure SQL
https://github.com/panispani/wordle.sql
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).
(
no comments
| 2 points
| on HN
)
There are no comments yet.