Spec writing

I need help creating the loop so that it lets you play multiple times in the terminal..