Use this template and example game to get started on making training exercises through text adventure gaming.
Information on how to get started with creating: https://confluence.splunk.com/display/~jschwietert/How-to%3A+Create+an+On-call+Text+Adventure+Game
Use Twine to import files, then develop games and deploy: http://twinery.org/