A good first step when poking around old games is to see if anybody has had the same idea. Many games, especially the classic Sierra and Lucasarts adventures, have been completely de-compiled, famously ScummVM, in particular does a fantastic job and have absorbed many small projects into its ecosystem as