I'm building a large game with lots of mini games inside it (20+ mini games). It could get complicated and unwieldly to build all of this in one project.
I was wondering is it possible to build the mini games separately and still access them in the main game. For instance load them in an iframe in the main game so they can play them without leaving it? I would also like to either pass some variables between the main and mini game or allow them to access variables in one another.
What do you think, is this a good plan/should it be possible? Or any alternative ideas?
Thanks!