fix: smooth tail interpolation for non-growing snake

When snake doesn't grow, the last segment (new tail) should interpolate
from the old tail's position (previous[segmentIndex]), not from the
second-to-last segment (previous[segmentIndex-1]) which didn't move.
This commit is contained in:
Heller
2026-06-19 10:08:56 +00:00
parent aa2016cc40
commit dcb65831ac
2 changed files with 5 additions and 3 deletions

BIN
publish/Snake.Avalonia Executable file

Binary file not shown.