Editorial policy

How tutorials, reference pages and articles on Pygame.net are researched, tested, corrected and kept up to date.

Updated
On this page

Principles#

  1. Useful over long. Pages are as long as the topic needs. No padding, no keyword stuffing.
  2. Working code. Every code listing is a real file that has been executed.
  3. Primary sources. Facts come from the libraries themselves, their official documentation and package metadata, not from other tutorials.
  4. Honest limits. When something doesn't work, or works differently in pygame and pygame-ce, the page says so.

How code is tested#

Before publication, every downloadable Python file is run automatically, headless, with both pygame-ce and pygame, the two packages that provide import pygame. The test harness runs each program's real game loop for many frames while sending scripted keyboard and mouse input. Game projects are additionally tested by driving their game logic directly: for example, checking that a snake grows when it eats, that bricks disappear when hit, or that the tic-tac-toe computer never loses across every possible game. Generated code from the site's tools is tested across every combination of options.

Pages that show a library's function signature were checked against the installed libraries. Features available only in pygame-ce are labelled.

Sources for versions and dates#

Version numbers, release dates and supported Python versions come from the Python Package Index (PyPI) and are stored with the date they were verified, shown on the download page. Download instructions always point to official sources.

Corrections#

If you find a mistake, please get in touch with the page address and the problem. Corrections are checked against sources, fixed promptly, and the page's "updated" date changes. Significant corrections that change the meaning of advice are noted on the page.

Updates#

Content is reviewed when new versions of Pygame, pygame-ce, Python or the browser runtime are released. Pages carry the date of their last substantive update.

Authorship#

Content is produced by the Pygame.net editorial team. No page claims personal experiences, credentials or test results that didn't happen.

Independence from advertising#

Advertising, if shown, is placed automatically in designated areas and never inside code, next to download or Run buttons, or inside tools. Advertisers have no say in what is written. Sponsored content, if ever published, will be clearly labelled as such, and affiliate links will be disclosed where they appear.

↑ ↓ to moveEnter to openEsc to close