In this game and others in the Wordle family, for each square in the guess, you get green, yellow, or black feedback specifically for it. In Mastermind, you'd only get told the total number of greens and the total number of yellows per line, not exactly which squares they came from.