How I modified the Snake Game
- Custom snake colors
- Alternating body color + Head color
// Paint snake headDot(snake[0].x, snake[0].y); for(let i = 1; i < snake.length; i++){ if (i % 2 !== 0) { activeDotA(snake[i].x, snake[i].y); continue; } activeDotB(snake[i].x, snake[i].y) }
- Alternating body color + Head color
- Custom background color
- Custom apple color