devsargam / SnakeGame

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

add wallsCollider into snake #69

Closed hiyokun-d closed 1 year ago

hiyokun-d commented 1 year ago
modified:   src/scripts/classes/betterboard.js
modified:   src/scripts/classes/snake.js
modified:   yarn.lock

Describe your changes

Issue ticket number and link

Checklist before requesting a review

netlify[bot] commented 1 year ago

Deploy Preview for snakeinjs ready!

Name Link
Latest commit c11cd2e984ed77f7e5aa5b7958c34af3f08fba86
Latest deploy log https://app.netlify.com/sites/snakeinjs/deploys/63c3cd0504c2bb0009f59620
Deploy Preview https://deploy-preview-69--snakeinjs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

devsargam commented 1 year ago

@hiyokun-d please, mention what changes you have made!

devsargam commented 1 year ago

@hiyokun-d also the collision with walls thing is still not working if that feature is complete

hiyokun-d commented 1 year ago

@hiyokun-d also the collision with walls thing is still not working if that feature is complete

I just set it to work in hard difficulty so if in the other difficulty it won't work so it will be challenging

hiyokun-d commented 1 year ago

@hiyokun-d please, mention what changes you have made!

Sorry, I forgot to put the changes I'm just modified the snake class also simpleboard and I forgot what I add in that file sorry

devsargam commented 1 year ago

@hiyokun-d thanks for your contribution