Pygame Core
/pygame-core
Structure a pygame-ce game: the game loop, delta-time movement, blitting, keyboard and mouse input, and sprite groups with collision.
- GitHub stars
- 2,085 (repository stars as of 2026-10-21)
- License
- Apache-2.0
- Last commit
- 2026/10/09
- By
- gamedev-skills
Part of
Awesome Gamedev Agent Skills
74 portable SKILL.md skills for Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE and Roblox, with a router.
Listed from the author's README. GameSkill has not run this end to end yet. Agent support and install steps are as documented by the author.
Install
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill pygame-coreInstalls only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.
Commands are copied from the project's README. Check the repository before running anything on your machine.
Install for a specific agent
| Agents | -a | Folder |
|---|---|---|
| Claude Code | claude-code | .claude/skills/ |
| Codex | codex | .agents/skills/ |
| Cursor | cursor | .agents/skills/ |
| Gemini CLI | gemini-cli | .agents/skills/ |
| GitHub Copilot | github-copilot | .agents/skills/ |
| OpenCode | opencode | .agents/skills/ |
| Windsurf | windsurf | .windsurf/skills/ |
Add -a <flag> to the command. These are project folders; add -g to install for your user account instead.
What you get
- Worked steps: Minimal game loop; Delta-time movement; Input: events vs polling; A Sprite subclass + a Group
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
- Written for pygame-ce
Good fit
- Building or debugging a pygame game
Try this prompt
Set up a pygame-ce game loop with sprite groups and collision.About this skill
Structure a pygame (pygame-ce) game in Python: the init/event/update/draw loop, delta-time movement, Surface/Rect blitting, keyboard/mouse input, and Sprite/Group management with collision. Use when building or debugging a pygame game — when the user mentions pygame, pygame-ce, the game loop, blit, Surface, Rect, sprite groups, or clock.tick. Targets pygame-ce.
From the pygame-core SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Minimal game loop (the skeleton)
- Delta-time movement (frame-rate independent)
- Input: events vs polling
- A Sprite subclass + a Group
- Collision detection
Requirements
- pygame-ce
FAQ
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
LÖVE (Love2D) Core
Structure and debug a LÖVE (Love2D) game in Lua: the love.load/update/draw loop, delta-time movement, input, and screen states.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Game Input Systems
Game input architecture: action mapping, rebinding with conflict checks, keyboard, gamepad and touch, deadzones, buffering and coyote time.
Game Save Systems
Design save/load for game state — choosing what to serialize, file formats, save slots, atomic crash-safe writes, schema versioning and migration, and autosave.
More from Awesome Gamedev Agent Skills
See all 39Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
Create Game Assets
Plan, generate, source, normalize, and validate cohesive visual game assets.
Dialogue Systems
Branching dialogue as a node graph with conditions, variables and localization hooks, using Ink, Yarn Spinner or a custom runner.
Similar skills
Claude Code Game Studios
Turns Claude Code into a full game studio: 49 agents and 72 workflow skills arranged like a real studio hierarchy.
MCP for Unity (CoplayDev)
A bridge between AI assistants and the Unity Editor: manage assets, control scenes, edit scripts and automate tasks.
Godogen
Autonomous game development with Claude Code and Codex. Publishes a ready game repo for Godot, Bevy, Babylon.js or three.js.
Godot MCP (Coding-Solo)
MCP server for Godot: launch the editor, run projects, capture debug output and edit scenes.