I am currently working in a game platform application. I want to be able to easily add new games to it, but the games should be comply with a particular contract :
- The games must have some required methods
- They must receive some events provided by the main program
- They must be able to send some data back to the program
- It would be wonderful if it is easy for external developers to make games for the platform, just by having knowledge of the interface
I read some questions like MEF vs MAF, and at first I would think that MAF is better for me, but I am not sure of that. Plus, I think I could even make some kind of homemade system like, compiling games as DLLs and retrieve them at runtime.
MAF seems good because of the isolation, but since I am not really working with little add-in, and as I read, MAF is heavy and lacks speed, I have many doubts of what I should use.
Should I try MAF, even if it can be slow, and hard to develop, and does it really suits to what I am doing ?