Project: threejs
Task (challenging): Edit index.js 1: When the snake enters a dead-end, all of the snake's states need to be reset, and the candy should be placed back to its initial position.