shadaj/snakey — pull request #1 by dgruntz (2012-04-24 11:42:27+00:00)
Title: removed more mutable state

Thanks for you presentation at scaladys. I looked at some of your code, because I did not know the processing framework. While looking at it I have made some changes:
1) adjustment of the position of new fruits to the screen size
2) changed the representation of the snake from a mutable array to an immutable list. However, now the access to the last element is slow; this could be improved if you store the head as first element in the list.
3) I added the processing library (core.jar) to the project.