C#C
C#12mo ago
casualvoid

WPF Snake Game problem

I'm making a snake game which is based on 2 dimensional array and enum type for every element. It can be either GridValue.Empty, GridValue.Snake or GridValue.Food.

I'm kinda stuck because by now the snake should be shown when i turn it on but somehow every cell of the grid is empty.

If anyone could help me that would be nice cause im stuck on this for like 2 hours. It's nothing complicated and less than 10 mins of debugging but would mean a world to me.!
Was this page helpful?