Codey Rocky combines hardware with software, allowing children to learn about programming while they play and create. Using mBlock, a software which supports both blocked-based and Python programming, Codey Rocky takes children by their hands and leads them into the world of avant-garde technology with its inbuilt AI and IoT functionalities, giving them a competitive edge in the AI era. Codey is the controller with different sensors and a programmable main control. It can be used alone mainly for teaching tasks. Moreover, it can work with the chassis Rocky to perform more tasks. Rocky is the chassis and can work only by matching with Codey. With Rocky, it can avoid obstacles, recognize colors, follow lines and etc.