You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dan Lawrence edited this page Feb 17, 2023
·
1 revision
There are lots of ways to contribute
Most of the time when we talk about contributions to open source, we are speaking about opening a pull request to a code repository. However the pygame community is also contributed to by people answering questions (on reddit, discord and stack overflow ), by people making web & video tutorials, by all those people that find and report bugs on the issues page. All this is great and welcome!
If you do want to contribute code then it is a good idea to take a poke around the repository first right here on GitHub, or in your favourite IDE. The main C code is tucked away under /src_c/, the main python code under /src_py/. Tests are under /test/ and the examples are at /examples/.
A useful reference for navigating the code is the Python C API documentation where you can find out all about how arguments passed in from python code are parsed into C data types and other such things.
The other best source of documentation is the SDL API documentation here, as most of pygame is wrapping SDL functions and types for use in python.