The gameplay of Snake Pit involves controlling the snake using a joystick or controller, moving it left and right to avoid obstacles. The player must time their movements carefully, as the snake can only move in one direction at a time. If the snake touches an obstacle, its health bar will decrease, and if it reaches zero, the game is over.