Paragraph game engine in bash