I haven’t seen many cocos2dx games with source code so here’s mine.
Zabyrinth is a Labyrinth clone using box2d for physics. Mazes are randomly generated using recursive back-tracker algorithm.
Use your device to tilt the game board and move the ball, avoiding holes to reach the finish tile.
cocos2dx version 3.2
Free Game Download: https://play.google.com/store/apps/details?id=com.EpicElf.Zabyrinth
Source Code: https://github.com/Zachacious/Zabyrinth
Blog: https://zachacious.wordpress.com