Since you need the game to run until something specific happens (you roll a 1 or a 6), how about using a while loop?
You can declare a variable to store the most recent dice roll, and base the while...