Cornering a snake 🐍