Skip to content

Enhance coin flip game with prediction and score system#623

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
PIYUSH-NEXTGEN:enhance-coin-flip-game
May 23, 2026
Merged

Enhance coin flip game with prediction and score system#623
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
PIYUSH-NEXTGEN:enhance-coin-flip-game

Conversation

@PIYUSH-NEXTGEN
Copy link
Copy Markdown
Contributor

📝 Description

Enhanced the Coin Flip Game by adding an interactive prediction system and gameplay improvements.

✨ Features Added

  • Added Heads/Tails selection buttons before flipping
  • Added prediction-based gameplay logic
  • Flip button now remains disabled until a choice is selected
  • Added live score tracking:
    • Wins
    • Losses
    • Current Streak
    • Best Streak
  • Improved overall UI layout and game interaction flow

🔧 Additional Improvements

  • Fixed rendering issues causing buttons and score UI not to appear
  • Checked component initialization and rendering flow across the codebase
  • Improved gameplay experience and replayability

🔗 Linked Issue

Closes #581

image

📋 Contribution Checklist

  • My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • I have included interactive emojis and clean console/UI outputs.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

@PIYUSH-NEXTGEN is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
python-mini-project Ready Ready Preview, Comment May 23, 2026 5:58am

@steam-bell-92 steam-bell-92 merged commit 0dec5a0 into steam-bell-92:main May 23, 2026
8 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [Feature]: choosing options and score in flip coin game

2 participants