↿Home
Camel Board Game

Created a digital version of the board game Caravan, to play with my friends and family during lockdown.

Created with Typescript, React, Express and Redis

The game supports multiplayer, the the full ruleset logic implemented to prevent any illegal moves. Uses long polling to allow the server to push messages to the client.

The game stores all its data in Redis to optimize for quick fetching of game states. Long-term data storage is not a requirement for this project as all games are short-lived and there is no persistant storage beyond the scope of a single game.

Implemented three difficulties of AI. The AI use cost-value optimization to evaluate the potential benefit of every current short-term strategy available to them, and picks the one which gets them the most points per-turn.

The lower difficulties add inaccuracy to their calculations (random variance), and devalues certain aggressive strategies.