I ported my game to Cocos2d-x a while back.
The source code is up on github under the MIT license
- https://github.com/AnujAsher/Horseshoe
Itβs not a very complex game, but I hope the source code helps someone who is beginning to learn Cocos2d-x 
I would like to hear any feedback 