Each time I run my snake game. it just keeps on saying update your pip installer.... what do the mean by that?
Hi all. am new in coding and just learning to code. can someone please help me with adding adding images in a code please.
@bion0 Hello, if you want to ask a separate question I suggest you make a new question instead of asking it in the comment section of another question as this may clutter up this question with irrelevant answers.
Also, if you want to do it in HTML, use the <img> tag. To add the source of the image use the attribute 'src="link"'. For example <img src="https://cdn.freebiesupply.com/logos/large/2x/replit-logo-png-transparent.png"/> will display an image of the [repl.it] logo. The reason why there is a / at the end of the tag is because the img tag has nothing within it, so you just close it with that.
I changed a few things. First, I changed it so that you can actually end the game if you go through the door with the ghost, before your code looked like this at the beginning.
I changed this to:
also your variable with
feeling_Brave was written wrong as
feeling_brave that wouldn't allow the correct boolean to change. I also added it so then you can't choose a Number higher than 3. Last but not least I converted the score in the Game Over Message to a string so you can properly print it.
Here is the source_code for the new project: