Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 463 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 463 Bytes

SnakeUnity

A simple snake implementation for unity.

Demo

The actual movement code is in Assets/Snek.cs and is about 130 lines of code.

Right now, the implementation uses a List instead of a Stack for coordinates (as the back element is necessary for movement), but this can be optimized by simply storing the back element coordinate separately.