Argument should probably be `snakeToMove` instead of `snake` as to not confuse with the global `snake` instance. Further steps referencing method should be updated too.
Argument should probably be
snakeToMoveinstead ofsnakeas to not confuse with the globalsnakeinstance.Further steps referencing method should be updated too.