Function snake_sdk::leap

source ·
pub fn leap()
Expand description

A leap is an additional move that can occur at most once every 2 ticks. It must only be called during a tick in which a move has already been performed, and a leap was not performed during the current or previous tick. Performing a leap will consume the last body part of this snake, which will drop on the floor as poison.