User prompt
No red screen
User prompt
No red screen
User prompt
If the snake touch the wall don't end game
User prompt
When the snake touch dot it size increase
User prompt
Snake can move Left Right as user wants
User prompt
Snake can move Left Right as user wants
User prompt
Snake move where the user wants
User prompt
No game over
Initial prompt
Snake
===================================================================
--- original.js
+++ change.js
@@ -139,9 +139,9 @@
scoreTxt.setText(score);
}
// Check for self-collision
if (snake.checkSelfCollision()) {
- LK.effects.flashScreen(0xff0000, 1000);
+ // Removed red screen flash effect on self-collision
// Removed game over when snake collides with itself
}
// Check for collision with walls
var head = snake.body[0];