I have an architectural situation that I wanted to get an opinion on.
I have a poker system that I am developing. Currently I have many different types of games currently handled by different classes (with a common interface of course).
Games include Texas Hold 'Em, Omaha Hi, Omaha Hi/Lo, 7-Card Stud, 7-Card razz, London Lowball, and Follow the Queen. I expect to have more in the future.
Currently, I am using a Provider Model, similar to SQL connection strings. Deal is, all of the type names of the games are located in the app.config file.
I was thinking about putting the types in the database so the config file does not need to be touched. Then when I develop a new game, an installer can just copy a new DLL and a script to insert the game's type in the DB can be called.
Is there a better way to dynamically allow this type of dependency?