I am working on a project to develop a poker bot, I have to store the state of every hand that is played. I wanted to do this via an object – however Players can only read from the state and the Dealer is allowed to write to the state. I thought a good way to solve this would be to make the HandState object implement 2 interfaces (one for Players and one for the Dealer) however I am having trouble naming them as I cant think of logical names other than IHandState – is there some kind of convention to deal with these things? Has anyone experienced something similar?
Thanks
PlayerStateHandlerandDealerStateHandlerAs a convention, my Interfaces either contain
-eror-able