User prompt
Please fix the bug: 'TypeError: undefined is not an object (evaluating 'head.lastDir')' in or related to this line: 'if (head.lastDir === undefined) {' Line Number: 449
User prompt
If you make a sharp turn, it kills you
User prompt
Make the head spawn normally from the body
User prompt
Now it want move and it keeps killing me because the obstacles pawn on the snake
User prompt
Make the head spawn on the body
User prompt
Remove speed poweup
User prompt
Make the head spawn away from the body
User prompt
More content
User prompt
Move the head to be away from the body (not close)
User prompt
Mive the head foward
User prompt
Remove the blue food
User prompt
Make the head further away from the body
User prompt
Make the head further away from the body
User prompt
Don’t make the obstacles move
Code edit (1 edits merged)
Please save this source code
User prompt
Snake Evolution
Initial prompt
Snake game (with new content)
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});