Skip to content

fix : removed duplicate Game Statistics print in rock_paper_scissor quit path - #1851

Closed
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:#1850
Closed

fix : removed duplicate Game Statistics print in rock_paper_scissor quit path#1851
tmdeveloper007 wants to merge 1 commit into
steam-bell-92:mainfrom
tmdeveloper007:#1850

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary of What Has Been Done

Removed the duplicate "--- Game Statistics ---" block from the quit path in games/Rock-Paper-Scissor/Rock-Paper-Scissor.py. The Game Statistics were already being printed after the last round (lines 178-188), so the second block in the quit path was redundant.

Changes Made

  • Removed the redundant statistics print block from the play_again_input != "yes" branch
  • Added a comment noting that statistics are already printed after the last round

Impact it Made

  • Eliminates redundant Game Statistics output when the user quits the game
  • Produces cleaner, non-repetitive output for users

Closes #1850

Note: please assign this PR to the tmdeveloper007 account.

@vercel

vercel Bot commented Jul 29, 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.

fix : remove duplicate Game Statistics print in rock_paper_scissor quit path

2 participants