I'm doing a snake game in a way of attaching turtles together and move each of them individually each time. Let's say we have a white snake on a black screen which consists of multiple adjacent 'square' turtles. If the snake move and hit the wall, it should be removed. So what's the best way to do it? Loop through all segments and use hideturtle() to hide each turtle element? Or simply move every segment out of the screen.
The simplest way would be when the brick moves and hits the wall it has each segment be set to invisible. These can all be cleaned up or removed at an intermediary screen like a play again/etc
How to remove turtle list in an effective way