Giter Site home page Giter Site logo

chandan0069 / higher-lower Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6 KB

This Python script offers an engaging and informative guessing game that tests your knowledge of celebrity follower counts on social media platforms. The code leverages various Python functionalities and adheres to best practices for clarity and structure.

Python 100.00%
conditional-logic control-flow data-structures functions user-interaction

higher-lower's Introduction

Higher-lower

Who Has More Followers? - A Celebrity Follower Count Guessing Game

This Python code provides a professional implementation of a captivating guessing game designed to challenge your knowledge of celebrity follower counts on social media.

Project Description:

The script presents you with two prominent figures and their basic information. You'll then strategize to determine which individual boasts the larger follower base. Based on your selection, the program evaluates your guess and offers insightful feedback. With each correct answer, your score accumulates, propelling you further in the game. The game concludes when you encounter an incorrect guess, displaying your final score for bragging rights.

Gameplay:

Execution: Run the script using the command python guess_game.py. Celebrity Pairings: The program meticulously presents details (name, description, country) for two renowned personalities. Who Has More? A prompt appears, challenging you: "Who has more followers? Type 'A' or 'B': ". Strategic Guess: Analyze the provided information and strategically choose either "A" or "B" based on who you believe has the higher follower count. Feedback and Scoring: The script efficiently evaluates your selection. If your guess aligns with reality, your score increases, and the game continues with a fresh set of celebrities. Game Conclusion: The game persists until you encounter an incorrect guess. Upon this event, the program gracefully ends, displaying your final score, a testament to your expertise in the world of celebrity followings.

Enhancements:

Error handling can be further refined to address any unexpected user input. The game_data module could be expanded to include a wider array of celebrities, offering a more extensive range of comparisons. This refined guessing game not only entertains but also fosters your knowledge of prominent figures and their social media followings. It effectively showcases various Python programming concepts, making it an ideal practice ground for aspiring programmers.

higher-lower's People

Contributors

chandan0069 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.