A snake engine written in SpriteKit for all Apple devices.
- Fully tested engine functionality.
- Framework based, super easy to integrate in different platforms.
- Easy to customize and extend.
I wasted a lot of time playing Snake in my Nokia phone back in the day. What better way to learn some
SpriteKit than to put in on the Apple Watch?. The idea was to create an
engine that could be integrated in any Apple device that supports
SpriteKit very easy and to do some
TDD along the way.
You can find most of the code in the
SnakeEngine scheme and two examples of how it is integrated in the watch and in the main scheme. The integration in different platforms is fairly easy and the only thing that changes from the watch to the phone integration are the controls, for example, in the watch you can use the crown as the control along with swiping.
Chris Jimenez - http://code.chrisjimenez.net
If you want to buy me a beer, you can donate to my coin addresses below:
SnakeClassic is released under the MIT license. See LICENSE for details.