The program below presents a simple conversation "tree" such as might be used in a video game. To see the source code or leave a comment, visit http://thiscouldbebetter.wordpress.com/2013/04/25/a-conversation-engine-for-a-video-game-in-javascript/.