You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somewhat the calculations were off making the game not detect the Div element's border to detect correctly, and also the "food" targets where always placed in the top left...
Thank you so much for your kind feedback. I know HTML & CSS but not Javascript, so I need a simpler solution. ;)
May I ask if there is a way to set a top and bottom margin to constrain the snake and food area in the page?
Or to assign a z-index to have always the elements (snake and food) on top? Thank you so much!
Hello,
thank you so much for this awesome script. It is possible to constrain the snake movement inside the parent DIV?
Thank you so much!
The text was updated successfully, but these errors were encountered: