Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restarts the game #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yash-61016
Copy link

Hello, I've made added some code. Where it use to stop after the snake bits itself, now it will start again.
I'm new to GitHub, this is my 1st pull request or a change in someone's code. Please give me some feedback as your look very professional, clean and organised.
Thank you.

@Abductcows
Copy link

Not bad for a first attempt but this is definitely a memory leak as the game never returns from the stopTheGame method as it is. Try dragging the snake window after losing, you'll see the previous game instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants