C# creating a simple snake game
- by Guy David
I was thinking about creating a snake game with C#, so I ran ideas in my head, and some problems came up.
How can I track and output in the correct location the blocks that run after the snake's head?
If the snake is built of five blocks, and the user starts going in a circle, how can I print the snake body in the right location?
Also, how can I create an action that will run on the background, which will move the snake forward, no matter what the user does?
What structure should my code have? (code design structure)
This should be a console application, since it's the only framework I am familiar with.
I am not looking for finished code, since I want to really understand how it should work.