I want to integrate some independent games into one.
the files in each game may has the same file name and class name like this:
a.lua, b.lua, c.lua
I do not want to modify each file to have a unique file name and class name, it's too much works to do.
My idea is just load the file for the game when the user select a game and unload other files for the previous game.
Can anyone shake some experience on that subject?