Coding@Home – video tutorials

13. The two snakes

Using the CodyRoby cards, two snakes move around the board trying to obstruct each other’s movement. The basic rule is very simple: you cannot go back to a square already visited by a snake. The winner is the snake that is able to move around freely for the longest.

Required material: CodyRoby cards, a 5 × 5 chequered board, two pawns, and pieces of paper to be used to mark the boxes already visited.


Q1. In the initial setup shown in the video, if the two players don't draw yellow cards to turn left, which cards should they hope to draw?

If you are interested in more unplugged activities, or activities in different programming languages, robotics, micro:bit etc., check out the EU Code Weeks “Learning Bits” with video tutorials and lesson plans for primary, lower secondary and upper secondary schools. Also have a look at the EU Code Week resources page for learners and teachers.