pursuit: render agents as squares instead of circles - #1399
Open
RewardGuard wants to merge 4 commits into
Open
Conversation
Kallinteris-Andreas
force-pushed
the
main
branch
from
July 13, 2026 03:48
079b7c9 to
dc1a4c8
Compare
Member
|
@RewardGuard I apologize for the hassle, but could you please rebase your changes off main? |
Draw pursuers and evaders as filled squares slightly smaller than the grid cells (80% of a cell, centered), restoring the look the environment had before it was ported to PyGame. Fixes Farama-Foundation#1360. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
RewardGuard
force-pushed
the
pursuit-square-agents
branch
from
July 14, 2026 18:31
4cf24fc to
03ae865
Compare
Member
|
@RewardGuard this needs to include an updated gif |
Member
|
@virgilt this needs a new gif before we can merge |
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.
Description
Fixes #1360.
Changes the pursuit agents (pursuers and evaders) from circles to filled squares slightly smaller than the grid cells, restoring the visual style the environment had before it was ported to PyGame (as requested in the issue).
Each agent is now drawn as a square sized to 80% of a grid cell and centered within it, so the small gap between adjacent agents reads as a grid again.
Type of change
This is purely a rendering change — environment dynamics, observations, and rewards are unchanged, so no version bump is required.
Checklist:
api_testpasses forpursuit_v5.rgb_arrayoutput visually verified (red pursuers and blue evaders now render as squares).🤖 Generated with Claude Code