hello, I have just figured out how to make a game re-program itself in theory. I will be getting done with a very basic test of this theory very soon. The problem is you would need an external c++ program to rewrite and add data to the source code.
The other thing is I realize by using a .bat file you can execute the compiler file (from dbpro) to execute the source code... all you need the dbpro game to do is to execute that .bat file to re-compile the game. For when it comes to altering the code, you just need to communicate (memblocks, files, etc.) with the C++ program to not only re-write the code but to add in new commands, functions, etc.
If anyone is confused or have any comments with this idea please post. I just thought this would be a interesting project to do!
edit:
when the game is shut down and reopened again it should have some alteration of the game itself... if everything works.
sov the game creator!