Skip to content

fix : remove duplicate stalemate method definition in Pygame-Chess board.py - #1863

Open
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:pr-1858
Open

fix : remove duplicate stalemate method definition in Pygame-Chess board.py#1863
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:pr-1858

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary of What Has Been Done

In games/Pygame-Chess/board.py, the stalemate method was defined twice with identical implementations. The second definition shadowed the first, which is unnecessary and confusing for future maintainers.

Changes Made

Removed the duplicate stalemate method definition, keeping only the first implementation.

Impact it Made

  • Cleaner, more maintainable code with no redundant definitions.
  • Avoids confusion for developers reading the source.

Closes #1858.

Note: Please assign this PR to the tmdeveloper007 account.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix : remove duplicate stalemate method definition in Pygame-Chess board.py

1 participant