Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how to get pyagame module it says module in unavailable

+12 votes
asked Jun 7, 2019 by shilpa (220 points)

2 Answers

0 votes
answered Oct 9, 2025 by E (530 points)
Pygame is unusable in OnlineGDB same thing with tkinter, to use the module you have to use a terminal to download the modules.

pip install pygame
0 votes
answered Oct 13, 2025 by Admin (5,870 points)

Now pygame is supported.
Example: https://onlinegdb.com/XXFAAuTpVw
Use "Run with display screen" button to run pygame program.

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...