Why is my pygame window not showing

Question:
Why is my pygame window not showing
Repl link:
https://replit.com/@Shayaank77/Tetris-99

Because you never tell it to. Try adding pygame.init() right after the imports.

what’s it meant to show? I see a black screen with

for some reason it isnt showing for me

Are you on a school device? School networks almost always block VNC and web functionality.

4 Likes

Yes I actually am on a school device thank you.

2 Likes

consider asking the admin to allow *.repl.co

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.