Welcome to Cross Flips.
Enter number of rows and columns: 8 8

    0 1 2 3 4 5 6 7 
  0 - # # - - - - # 
  1 # - - # # # # # 
  2 # - - # # # # # 
  3 - # # - - - - # 
  4 - # # - - - - # 
  5 # - # # # # # - 
  6 # - - # # # # # 
  7 # # - # # # # - 

Enter your move, h for a hint, or q to quit: h

Hint: (6, 7)

Enter your move, h for a hint, or q to quit: 6 7

    0 1 2 3 4 5 6 7 
  0 - # # - - - - - 
  1 # - - # # # # - 
  2 # - - # # # # - 
  3 - # # - - - - - 
  4 - # # - - - - - 
  5 # - # # # # # # 
  6 - # # - - - - - 
  7 # # - # # # # # 

Enter your move, h for a hint, or q to quit: h

Hint: (1, 7)

Enter your move, h for a hint, or q to quit: 1 7

    0 1 2 3 4 5 6 7 
  0 - # # - - - - # 
  1 - # # - - - - # 
  2 # - - # # # # # 
  3 - # # - - - - # 
  4 - # # - - - - # 
  5 # - # # # # # - 
  6 - # # - - - - # 
  7 # # - # # # # - 

Enter your move, h for a hint, or q to quit: 2 7

    0 1 2 3 4 5 6 7 
  0 - # # - - - - - 
  1 - # # - - - - - 
  2 - # # - - - - - 
  3 - # # - - - - - 
  4 - # # - - - - - 
  5 # - # # # # # # 
  6 - # # - - - - - 
  7 # # - # # # # # 

Enter your move, h for a hint, or q to quit: h

Hint: (7, 1)

Enter your move, h for a hint, or q to quit: 7 1

    0 1 2 3 4 5 6 7 
  0 - - # - - - - - 
  1 - - # - - - - - 
  2 - - # - - - - - 
  3 - - # - - - - - 
  4 - - # - - - - - 
  5 # # # # # # # # 
  6 - - # - - - - - 
  7 - - # - - - - - 

Enter your move, h for a hint, or q to quit: 5 2

    0 1 2 3 4 5 6 7 
  0 - - - - - - - - 
  1 - - - - - - - - 
  2 - - - - - - - - 
  3 - - - - - - - - 
  4 - - - - - - - - 
  5 - - - - - - - - 
  6 - - - - - - - - 
  7 - - - - - - - - 

Lights Out!