My long term approach is to make the game map and the world generator pluginable and thus reusable and isolated.
This is the first entry in my personal blog where I want to document my journey developing my own game.