Repository navigation
Sync top-python-game-engines with the updated tutorial - #948
Merged
realpython-bot merged 1 commit intoNov 21, 2026
Merged
Conversation
…n Game Engines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
realpython-bot
deleted the
maintenance/top-python-game-engines-20261121
branch
November 21, 2026 07:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs
top-python-game-engineswith the maintenance update of the Top Python Game Engines tutorial.What changed
requirements.txt:arcade==2.6.10->arcade==3.3.3andpygame==2.1.2->pygame==2.6.1. The old pins have no wheels for Python 3.13 and fail to build (pymunk, Pillow 9, pygame 2.1.2).arcade/arcade_basic.pyandarcade/arcade_game.py: ported to Arcade 3, matching the updated article listings:arcade.start_render()->self.clear()(in Arcade 3,start_render()can only be called once, so it raises on the second frame)arcade.draw_lrtb_rectangle_outline()->arcade.draw_lrbt_rectangle_outline()draw_text(start_x=..., start_y=...)->draw_text(x=..., y=...)arcade.Sprite(filename=...)-> the path passed positionally, becausefilename=is silently ignored and the sprite renders blankarcade.clamp()->arcade.math.clamp()self.player.draw()->arcade.draw_sprite(self.player), becauseSprite.draw()was removedVerification
requirements.txt.arcade_game.pyfrom a test script: both sprites loaded their PNG textures,on_mouse_motion()clamped the player to the window, a coin pickup scored, and 300on_update()/on_draw()frames ran cleanly.adventurelib_basic.pyandadventurelib_game.pywith scripted input. Both exited cleanly.ruff==0.14.1passes bothformat --checkandcheck.Article draft (admin): https://realpython.com/pbjt/blog/post/2702/change/
Maintenance card: https://trello.com/c/xhuwAPmn
🤖 Generated with Claude Code