(VIDEO) Troubleshoot “Ghosting” of LEDs in Snake Game
Latest Arduino IDE Arduino Uno SK6812 NeoPixel RGB LEDs
I am trying to recreate “snake game” but sometimes when the snake eats the fruit, LEDs light up that should not light up. I cannot tell why. Also, something is wrong with my makeFruit() function because it generates “fruit” on LEDs that are already taken by the snake.
Any help/feedback is very appreciated.