jajodiaraghav / Snake

A simple game built using Python Pygame Library
20 stars 26 forks source link

Missing function argument #47

Closed GeoZac closed 6 years ago

GeoZac commented 6 years ago

https://github.com/jajodiaraghav/Snake/blob/5d4aacd31748e4acf27c4c613ee2db1b0ec7b299/main.py#L50 takes a string argument,but such a argument is missing in https://github.com/jajodiaraghav/Snake/blob/5d4aacd31748e4acf27c4c613ee2db1b0ec7b299/main.py#L310 and moreover I'm not able to reach the code

athulp01 commented 6 years ago

did you pull the updated branch?

GeoZac commented 6 years ago

It's permalinked and only one branch exists

GeoZac commented 6 years ago

Passing a string at https://github.com/jajodiaraghav/Snake/blob/5d4aacd31748e4acf27c4c613ee2db1b0ec7b299/main.py#L310 or initialising a default argument at https://github.com/jajodiaraghav/Snake/blob/5d4aacd31748e4acf27c4c613ee2db1b0ec7b299/main.py#L50 can solve the issue

jajodiaraghav commented 6 years ago

Please create a PR in case you are aware of the fix

GeoZac commented 6 years ago

I need a default string,what I used was

jajodiaraghav commented 6 years ago

Do not close the issue when you submit a PR. Issues gets closed on only after the PR gets merged.