← Game Projects

Snake: portal wallsPremium

πŸ“– Read the Snake tutorial

This lesson is part of Premium

What if the walls were portals? When wrap is true, a snake that leaves one side comes back on the opposite side. And a crash doesn't have to be the end: the function onCrash decides what it costs.

Free lessons are marked on the lesson map. Premium unlocks the rest of the path, including the boss levels and all of the Game Projects.