Skip to content

New game - #96

Merged
Yugo206 merged 3 commits into
Yugo206:mainfrom
johannimis:new-game
Jun 29, 2026
Merged

New game#96
Yugo206 merged 3 commits into
Yugo206:mainfrom
johannimis:new-game

Conversation

@johannimis

Copy link
Copy Markdown
Contributor

Description

Adds Lucky Number Chronicles, a terminal-based luck game where players pick a number between 1–100 and survive 8 random events whose impact scales with their proximity to a hidden lucky number.

Checklist

  • [ x ] My game defines an AUTHOR variable
  • [ x ] My game defines a run() function
  • [ x ] I did NOT add run() at the end of the file
  • [ x ] I did NOT add if __name__ == "__main__"
  • [ x ] I removed any .pyc files
  • [ x ] I removed any .DS_Store files
  • [ x ] The game works correctly when launched from launcher.py

Issue

Closes #93

@Yugo206 Yugo206 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! The game looks well organized and the presentation is really nice.

I noticed one issue before merging: the game calls

sys.stdout.reconfigure(encoding="utf-8")

This isn’t guaranteed to be available in every environment and can cause the game to fail to start.

Could you remove that line (or make it optional if you really need it)? After that, the game looks good to me.

@Yugo206 Yugo206 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick update!

Wrapping the reconfigure() call in a try/except makes it much more portable across different environments.

The game is well organized, has a nice presentation, and the gameplay is fun. Thanks for the contribution!

@Yugo206
Yugo206 merged commit 02806ca into Yugo206:main Jun 29, 2026
1 check passed
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.

Lucky Number

2 participants