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

./toolchain.py': [Errno 2] No such file or directory and Food place inside of snake #1

Open
AlexBulavin opened this issue Sep 3, 2021 · 0 comments

Comments

@AlexBulavin
Copy link

Alex Bulavin
0 секунд назад
Hi Erik, thanks for video!
🔥 🔥 🔥 🔥
👍� VERY IMPRESSED! 👍�

I try to repeat it, but failed with this.
My command was
(venv) iMac-Alex:snakeGameFixed alex$ sudo python ./toolchain.py create snakegame ~/Users/alex/Documents/snakeGameFixed/

the system answer was:
/Users/alex/Documents/snakeGameFixed/venv/bin/python: can't open file '/Users/alex/Documents/snakeGameFixed/ ./toolchain.py': [Errno 2] No such file or directory

What should I do to fix it? Could you add step by step tutorial into read.me please.
Maybe I should pre install some other libraries then Kivy or anything else?

And one more problem. With the game algorithm. The longer snake, the oftener food placed under the snake's body. So it seems the coordinate for the new food should be not just random, but free of snake body. If it possible, please make needed changes in code.

I will be very appreciate for your answer.

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

No branches or pull requests

1 participant