In the game you were a spider which could run from one wall to the other. The snake could either destroy your net or you.
If you reached another wall the room where snake could move got smaller. If said room was small enough you beat the level.
It looked like that this seems to be a mobile rework