Make a non generic game then. Players don't care how you coded it.
My point is, if you want to make a game, make a game. Making an engine is the ultimate distraction. You should only be considering an engine after you have a few similar games under your belt and know there's a market for it.