(self)
| 12 | class Snake: |
| 13 | """ This class creates a snake body and contains methods for movement and extension. """ |
| 14 | def __init__(self): |
| 15 | self.segments = [] |
| 16 | self.create_snake() |
| 17 | self.head = self.segments[0] |
| 18 | |
| 19 | def create_snake(self): |
| 20 | """ Creates the initial snake body. """ |
nothing calls this directly
no test coverage detected