Module snake_body

Module snake_body 

Source

Structs§

SnakeBody
A struct representing the snake’s body in the game. It is composed of multiple GraphicBlock elements that make up the snake’s segments. The body can move, grow, and check for overlaps with itself.