Before writing my books, I made custom modules for Neverwinter Nights:
http://ryallon.blogspot.com/2011/11/...s-modules.html
With well over 300,000 words of dialogue in them, it really honed my writing abilities and contributed to the quality of my books.

Making a playable game expanded my thought process when writing and helps me to develop a more detailed world for the reader.