To make a computer act like a human such as a robot, first we need to teach humans to think like a computer.
Strangely enough this process does not, and and in some cases should not involve a computer.
CSunplugged is an excellent resource for teachers and students which is completely free and teaches students about computational thinking through a series of hands on activities.
CS Unplugged is a collection of free learning activities teaching Computer Science through engaging games and puzzles that use cards, string, crayons and lots of running around.
The activities introduce students to Computational Thinking through concepts such as binary numbers, algorithms and data compression, separated from the distractions and technical details of having to use computers. Importantly, no programming is required to engage with these ideas!
CS Unplugged is suitable for people of all ages, from elementary school to seniors, and from many countries and backgrounds. Unplugged has been used around the world for over twenty years and should not be missed if you are considering teaching robotics or coding with your students.