Object programming method and system for children

The invention discloses an object programming method and system for children. The method comprises steps: firstly, labyrinth maps corresponding to different tasks are generated, and a labyrinth map library is obtained; secondly, according to user information of a login user, a labyrinth map is selected and provided for the login user from the labyrinth map library; thirdly, the login user puts object programming blocks according to the labyrinth map, and an object programming block sequence is obtained; fourthly, the image of the object programming block sequence is collected and sent to an object programming processing unit; fifthly, the object programming processing unit carries out semantic processing of the image and feedback according to the labyrinth map until the task is completed; sixthly, the program written by the login user is operated, a corresponding role in the labyrinth mapis controlled to move in the labyrinth map, when the role moves to a set problem cell in the labyrinth map, a corresponding test question is called, and then the score of the login user is updated according to the inputted answer. The interest of the game is raised, and thus learning and usage are easy for children.