Two Snakes – Interactive Coding at Home Challenge

The two snakes

By EUCodeWeek

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.

This content is hosted by a third party. By showing the external content you accept the terms and conditions of youtube.com.

Questions

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 Learn&Teach resources, where you can find free, high-quality resources from around the world for teachers and students.

Copyright notice

The EU Code Week website is a service supported by the European Commission
Except where stated otherwise, content made available on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license
Licensing under Creative Commons licenses does not of itself affect the ownership of the copyright
Content from third party websites is subject to their own copyright restrictions; please refer to the site of origin for more information.