Here's yet another question related to my board game :)
I'm trying to create a complicated snake. When the user moves a unit on the grid, it generates 'body parts' until it has reached its maximum. The idea is that once the max is reached, the unit will stop generating parts, and instead the other parts will move with the unit like a snake. A visual example is below:
Before movement:
<img src="http://i.imgur.com/WoOynfg.jpg" border="0" />
First movement:
<img src="http://i.imgur.com/9IlZUG5.jpg" border="0" />
Second movement:
<img src="http://i.imgur.com/1x8CTnh.jpg" border="0" />
Final movement, here is the problem:
<img src="http://i.imgur.com/b5hdhC2.jpg" border="0" />
Basically, in the last image, the other two parts should move with the unit like a snake.
How might one accomplish this?