devsargam / SnakeGame

A simple snake game made with vanilla javascript.
https://snakeinjs.netlify.app/
MIT License
27 stars 21 forks source link

[bug]: Snake movement glitched after passing through walls #70

Closed devsargam closed 1 year ago

devsargam commented 1 year ago

Describe the bug Snake passing through the wall glitches and separates from the rest of the body.

To Reproduce Steps to reproduce the behavior:

  1. Pass the snake through any wall
  2. Check the snakes body

Expected behavior When the snake passes through a wall it was supposed to pass clearly without any gaps between snake and walls.

Screenshots or GIFs

Screenshot 2023-03-29 at 10 34 22 AM

Info (please complete the following information):

pratik9818 commented 1 year ago

@devsargam can you assign this issue to me

devsargam commented 1 year ago

@devsargam can you assign this issue to me If you think you can fix it than for sure you can work on this

devsargam commented 1 year ago

Fixed in devsargam/SnakeGame#71