Skip to content

fix : removed duplicate stalemate method definition in Pygame-Chess board.py - #1881

Open
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:#1874
Open

fix : removed duplicate stalemate method definition in Pygame-Chess board.py#1881
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:#1874

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary of What Has Been Done

Removed the duplicate stalemate() method definition in games/Pygame-Chess/board.py. The method was defined twice (lines 50-51 and 52-53), with the second definition shadowing the first. This is a maintenance issue that would cause linters and type checkers to flag duplicate method names.

Changes Made

  • games/Pygame-Chess/board.py: Removed the second (duplicate) stalemate() method definition.

Impact it Made

Cleaner code with no duplicate method definitions and no linter/type-checker warnings.

Note: Please assign this PR to the tmdeveloper007 account.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@tmdeveloper007 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.

1 participant