User prompt
The two fruits are spawning in the same place.
User prompt
If we click behind while the snake is looking forward, it will go back.
User prompt
Let it go where I stepped, but don't go diagonally.
User prompt
make the game's map grid-like
User prompt
Make a separate accessory for the snake's head and prepare 5 different foods. Each one should give a different score and display the score they gave on the screen.
Code edit (1 edits merged)
Please save this source code
User prompt
Snake Classic
Initial prompt
make a snake game
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
ultra realistic apple. In-Game asset. 2d. High contrast. No shadows
create ultra realistic pear. In-Game asset. 2d. High contrast. No shadows
ultra realistic strawberry. In-Game asset. 2d. High contrast. No shadows
ultra realistic orange fruit. In-Game asset. 2d. High contrast. No shadows
snake head 16x16. In-Game asset. 2d. High contrast. No shadows