udaysharmadev/Raja-Mantri-Chor-Sipahi ? reverse-engineered prompt
Reverse engineered prompt
Build me a polished online version of Raja Mantri Chor Sipahi that feels like the old classroom game, but works instantly in the browser with no backend.
I want a host to create a room, get a short 5 character code, and invite exactly 3 other players with the code or a share link. The game should handle the full round flow for 4 players, deal the roles randomly, let the Raja reveal first, then the Mantri guess who the Chor is, and keep score across multiple rounds until a winner is crowned. Add a simple real time table chat, reconnect handling if someone refreshes, and clear lobby, gameplay, and winner screens.
Make the whole thing feel premium and tactile, with cream paper backgrounds, deep indigo text, bold borders, crisp shadows, and smooth card flip style animations. It should work nicely on phones too, and if you need to look up current docs online while building it, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit