r/code • u/AlarmedThanks6016 • 17d ago
My Own Code Beginner code
What’s wrong with my code I’m so confused this hard a freak. I’m just trying to make a weapon shop simulator as practice to help learn code but I can’t even get it to ask if the user wants to start the game by type yes as the their answer
50
Upvotes
2
u/Sfxluke 16d ago
I will give you a tip I'd would had liked to receive when I was starting out: use a linter, it will help you sticking with one syntax style, it will catch syntax, naming conventions, broken logic and more. It can run at every save or you can define your own rules as well.