Card Game Bot

- 1 min read

From April to May of 2025, I programmed a clone of the trick taking card game ‘The Crew’ in C.

Once complete, I then built up a framework for users to clone the repo and make their own bot to play with humans, or other bots. I started work on my own bot, starting with the first in-game sequence — picking tasks. I developed the algorithm from scratch using a point-based system, assigning positive and negative correlation to possibilities depending on provided data. Once the analysis is complete, the bot then picks the decision with the highest points. This system worked effectively in many scenarios and reaches intermediate human level play.

See the source code here. Clone the main branch if you wish to make your own bot, or see the bot-dev branch for my own algorithm.