So I am recently playing around with grids and noise and I was able to create this Island.
Now the Noise gave me also some lakes which I want to fill/delete/change.
I just cant think of any logic on how to find out if the ocean tiles are actually not
ocean but “lake”. My last try was to start at one tile, check his neighbours if they are ocean and not land, then check all those neighbours that are ocean for their neighbours again and so on. I thought I could find the actual ocean this way and delete everything else. But this just ended in a big mess…
I bet there is a much simpler logic that I am just missing. Please send help.