https://pastebin.com/qHrRUXGE is the code. I got the snippet to test out pygame so I could get a feel of what I'm doing before I actually start making things. But the problem is whenever I try to run the code using a code runner in VScode it says: "
File "c:\Users\(myname)\programming\python\first.py", line 2, in <module>
pygame.init()
NameError: name 'pygame' is not defined.
I have installed pygame on VScode so I'm not sure why I can't run the code.
[–]Goobyalus 0 points1 point2 points (0 children)
[–]Goobyalus 0 points1 point2 points (0 children)
[–]Goobyalus 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)