Skip to content

fix hardcoded difficulty selection - #1684

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Facelessism:number
Jul 13, 2026
Merged

fix hardcoded difficulty selection#1684
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Facelessism:number

Conversation

@Facelessism

Copy link
Copy Markdown
Contributor

📝 Description

This PR refactors the difficulty selection logic by replacing hardcoded conditional statements with a centralized difficulty configuration mapping.

🔗 Linked Issue

Closes #1568


📋 Contribution Checklist

  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

@steam-bell-92 steam-bell-92 added level:beginner gssoc:approved GSSoC 2026 approving tag labels Jul 13, 2026
@steam-bell-92
steam-bell-92 merged commit be923e6 into steam-bell-92:main Jul 13, 2026
3 of 4 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.
Thanks again for your support! 🙌

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

Labels

gssoc:approved GSSoC 2026 approving tag level:beginner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: replace the hardcoded difficulty selection in games/Number-Guessing-Game

2 participants