main required components constants declarations open the file initialize the main loop (set counters to 0) loop done at the end of the file initialize counter for number correct in row for loop for number of items in a row get color from file get valid color from user (might need a loop ensure it is valid) if correct display message count it else display message if all correct in the row display message display total number correct display total number of rows correct