sample codes for Pong with cocos2d-x