Skip to content

Enhance coin flip game with prediction and score system#623

Open
PIYUSH-NEXTGEN wants to merge 1 commit into
steam-bell-92:mainfrom
PIYUSH-NEXTGEN:enhance-coin-flip-game
Open

Enhance coin flip game with prediction and score system#623
PIYUSH-NEXTGEN wants to merge 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.

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.

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

1 participant