Worldle, like Wordle, displays green, yellow, and grey squares. The difference is that in this case, the more green squares you see, the closer you are to the correct country.
Worldle calculates the distance between your guess and the actual location. (It’s in kilometres, but you can change it to miles in the Settings section, and you can even hide the country image to make it more difficult.)