Last week I explained how I made part of the Game logic, first in C# and then in F#. This week I will zoom in a bit on the Player’s logic which I too made in C# first, in a train, to impress @tcoopman. A player needs to be able to play cards. Duh! Initially, […]
Playing the game [Desiderius part 9]
Hi Desiderius fans, I can’t imagine anyone else is reading these posts but true fans. I’d like to extend a special welcome to Fred, thanks for favoriting my bridge tweets every weekend 🙂 A while back I was at DDD Europe where I played a real life game of bridge. Unfortunately my phone was dead so […]
Live Hacking with Tomas Petricek [Desiderius part 8]
When I was at NDC, there was a real cool type of session called the “Functional Programming Lab Hour” where you could go to do some functional programming with among others, Tomas Petricek. Initially I went there to ask about a strange null error I was getting in combining C# and F# which apparently has to […]
Introducing RuleSets [Desiderius Part 7]
Follow up of the Desi story, you might want to read the previous post first. In that post I outlined a few issues that I ran into when implementing a bidding system. In the first bid, you can just look at your cards and make a bid. But for the second bid (the answerer) you need […]
Modeling answers [Desiderius part 6]
In a scary number of previous posts I have talked about modeling a bidding system for bridge. But so far, we have only designed the part where one player looks at their hand and decides what to do. But, as always, the reality is more complex. The bidding of course is an interaction between two […]