I wrote 4 part tutorial how to build Snake game using Cocos2d-x HTML5 version

Hello all
I started to write tutorials blog about game development,especially exploring the options developer have when developing cross platform games using open source tools.
for the first tutorial series i developed simple snake game which i plan to show how to implement it for the web,mobile and desktop.
the framework i chose is Cocos2d-x. it is mature and professional and above all it is open source.
and have great JS/Lua support.
i will use JavaScript as my language for this. way ? Because it is easy and accessible. easy to learn for beginners.
First part is for the web:
Snake Game Using Cocos2d-x HTML5 - PART 1
Snake Game Using Cocos2d-x HTML5 - PART 2
Snake Game Using Cocos2d-x HTML5 - PART 3
Snake Game Using Cocos2d-x HTML5 - PART 4

The play the final game :
Snake Game for the web
The source code:
Snake Game source code

Please note that this is the first draft , i will happy to get Feedback so i could iterate and improve.
Thanks

1 Like