# pygame

Published articles for pygame.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Pygame: A Primer on Game Programming in Python

DevFeed: [Pygame: A Primer on Game Programming in Python](<https://devfeed.tech/articles/pygame-a-primer-on-game-programming-in-python-95792.md>)

Original publisher: [Read original article](<https://realpython.com/pygame-a-primer/>)

Author: Jon Fincher

Published: 2026-10-22T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Game Development](<https://devfeed.tech/topics/game-development.md>), [Python](<https://devfeed.tech/topics/python.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Image](<https://devfeed.tech/topics/image.md>), [conditionals](<https://devfeed.tech/topics/conditionals.md>), [import](<https://devfeed.tech/topics/import.md>), [pip](<https://devfeed.tech/topics/pip.md>), [memory handling](<https://devfeed.tech/topics/memory-handling.md>)

Tags: [game](<https://devfeed.tech/tags/game.md>), [games](<https://devfeed.tech/tags/games.md>), [multimedia](<https://devfeed.tech/tags/multimedia.md>), [programming](<https://devfeed.tech/tags/programming.md>), [pygame](<https://devfeed.tech/tags/pygame.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

This tutorial builds a keyboard-controlled obstacle-avoidance game with Pygame, showing how its game loop handles input, updates sprites, draws frames, and exits on a collision or window close. It introduces `Surface` and `Rect`, sprite groups for rendering, movement and collision checks, timed events for spawning enemies and clouds, and image-based sprites with transparent color keys. A `Clock.tick(30)` caps the frame rate so movement is more consistent across machines; without it, enemy speed depends on how quickly the loop runs. The tutorial also adds background music and sound effects through `pygame.mixer`, noting that Ogg is preferred over MP3 in the documentation and that audio should be tested on target platforms. It assumes basic Python knowledge and uses Python 3.13.

### Source excerpt

Learn how Pygame lets you build games and rich multimedia programs in Python: draw to the screen, detect collisions, and handle input.

## Highlights from Game Off 2020

DevFeed: [Highlights from Game Off 2020](<https://devfeed.tech/articles/highlights-from-game-off-2020-68668.md>)

Original publisher: [Read original article](<https://github.blog/open-source/gaming/highlights-from-game-off-2020/>)

Author: Lee Reilly

Published: 2020-12-23T21:37:07Z

Content type: article

Language: en

Sources: [GitHub Blog](<https://devfeed.tech/sources/github-engineering.md>)

Topics: [Game Off](<https://devfeed.tech/topics/game-off.md>), [Game Jam](<https://devfeed.tech/topics/game-jam.md>), [Global Game Jam](<https://devfeed.tech/topics/global-game-jam.md>), [Unity](<https://devfeed.tech/topics/unity.md>), [Godot](<https://devfeed.tech/topics/godot.md>), [Phaser](<https://devfeed.tech/topics/phaser.md>)

Tags: [2020](<https://devfeed.tech/tags/2020.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [communities](<https://devfeed.tech/tags/communities.md>), [creative](<https://devfeed.tech/tags/creative.md>), [discord](<https://devfeed.tech/tags/discord.md>), [game](<https://devfeed.tech/tags/game.md>), [game-off](<https://devfeed.tech/tags/game-off.md>), [gamedev](<https://devfeed.tech/tags/gamedev.md>), [games](<https://devfeed.tech/tags/games.md>), [gaming](<https://devfeed.tech/tags/gaming.md>), [gdscript](<https://devfeed.tech/tags/gdscript.md>), [godot](<https://devfeed.tech/tags/godot.md>), [haxe](<https://devfeed.tech/tags/haxe.md>), [heaps](<https://devfeed.tech/tags/heaps.md>), [highlights](<https://devfeed.tech/tags/highlights.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [moonshot](<https://devfeed.tech/tags/moonshot.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [phaser](<https://devfeed.tech/tags/phaser.md>), [pixijs](<https://devfeed.tech/tags/pixijs.md>), [pygame](<https://devfeed.tech/tags/pygame.md>), [python](<https://devfeed.tech/tags/python.md>), [unity](<https://devfeed.tech/tags/unity.md>)

### AI overview

GitHub's 2020 Game Off was a month-long game jam with the theme "moonshot" and more than 500 submissions. The article highlights several top-rated games, describes their gameplay, and notes that readers can play and inspect their source code.

### Source excerpt

Game Off is our annual month-long game jam. This year's theme was "moonshot," and there were more than 500 tre-moon-dous submissions! 🌛 Here are some of the top-rated games as...