I've recently been looking at Briscola, which is a traditional trick taking card game. I thought it would be relitaavely easy to produce Ai players for it, what with only ever having possible 3 moves a turn and a fixed number of turns to complete the game. I decided I would knock up a quick Monte Carlo player to see what it played like. The trouble is while I wrote it pretty quickly the AI is so slow iterating through games that I feel I must be overlooking some fundamentals of appropriate data structures to use to model the deck of cards.

Are there any good code examples of Monte Carlo based AIs for trad card games out there that I could learn from?