namanvashistha/chess ? reverse-engineered prompt

Reverse engineered prompt

Build me a web based chess app in Go where two people can play against each other in real time.

I want a clean browser interface for making moves, seeing the board update instantly, and joining a game through the backend. Please wire up the game logic so the chess rules are enforced properly, and make sure the app keeps the current game state saved so players can refresh or come back without losing everything. Use a database for persistence and a cache for speed, and make the real time part work through WebSockets.

If it fits, also make the chess engine usable from the command line with UCI so it can be tested in normal chess GUIs. Keep the project easy to run locally, with sensible config and a simple development setup. If you need to check current Go or WebSocket docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab