Structsยง
- Edge
Snake - Manages a snake animation that moves along the terminal boundaries. The snake follows the edges of the given area in a clockwise direction.
Constantsยง
- SEGMENT_
GAP ๐ - Spacing between snake segments. Horizontal spacing is double this value to account for a TUI cell aspect ratio.
- SPEED_
MOVING_ SNAKE_ SLEEP_ TIME_ MS - TOTAL_
SEGMENTS ๐ - Total number of snake segments (emojis) to display.