Grid Snake

One cell per step. Turn carefully, collect food, fill the grid.

20 × 20 board

Solid edges are walls. The tail cell may be entered when it vacates.