UdaipurGame
A clone of the boardgame Jaipur built using boardgame.io + ReactJS
Install / Use
/learn @skvrahul/UdaipurGameREADME

Udaipur
A minimalistic clone of the popular 2-player card trading board game Jaipur with Online Multiplayer support built using boardgame.io and React JS.
You can try out the game at https://udaipur-game.herokuapp.com/ (It can be a bit slow to load initially since it's currently running on a free dyno).
Jaipur on BoardGameGeek
About the Game
Jaipur is a 2 player, trading card game where you and your opponent are traders and are trying to make the most money, buying and selling resources from the market. Resources initially sell for a larger amount and start to yield lesser money as more of them get sold in the market.
However not all resources have the same availability and selling price along with Rare Resources having the added constraint of needing to be sold in a group of atleast 2 cards at a time.
In the game of Jaipur, players have to strike a balance between trying to trade rarer resources which sell for more(such as Gold, Diamond and Silver) and the more abundant resources which sell for less(Leather, Spices and Silk).
For a more comprehensive explanation of the rules, watch the game guide here:
.
You can also find help within the Udaipur Website under Game Help The only departure from the original rules in Udaipur is the removal of the Seal of Excellence tokens to simplify and shorten the game.
Development
- Run
npm installto install the necessary packages - Run
npm run clientto run the front-end client - Run
npm run serverto run the game server
Deployment
- Set
APP_PRODUCTION=truein src/config.js - Run
npm run startto deploy the app
Deploy to Heroku with the button below.
TODO
- [x] Player move history in a sidebar (Commit 69e19588e7)
- [x] Display player Scoreboard while playing (Commit 2629c091f)
- [ ] Use boardgame.io's STRIP_SECRETS to ensure the Client doesn't receive extra information about the opponent
- [ ] Clearer way to represent players receiving token(s)
Screenshots
Home Page

Lobby

Game Board

Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
