+ # when user chooses to reset grid
+ def on_reset_grid (self):
+ ans = raw_input (self.BRICKRED +
+ "This will clear the entire grid! Are you sure (Y/N)? " + self.ENDCOL)
+ if ans == "y" or ans == "Y":
+ self.puzzle.reset_grid ()
+ sys.stdout.write (self.BLUE + "Grid has been cleared of all data!"
+ + self.ENDCOL + "\n")
+