0% found this document useful (0 votes)
24 views

Python

The document describes a project to create a Python program that simulates an Instagram follower guessing game. The program will read Instagram account data from a file, randomly select two accounts for each round, display their details, prompt the user to guess which has more followers, and provide feedback on the guess.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Python

The document describes a project to create a Python program that simulates an Instagram follower guessing game. The program will read Instagram account data from a file, randomly select two accounts for each round, display their details, prompt the user to guess which has more followers, and provide feedback on the guess.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Project Title: Higher-Lower Game Project

Objective:

Create a Python program that simulates an Instagram Follower Higher-Lower Game, where
players guess which of two Instagram accounts has more followers based on data read from a
file.

'name': 'National Geographic',

'follower_count': 135,

'description': 'Magazine',

'country': 'United States'

Features:

1. Data File:

Follower counts for different Instagram accounts are stored in a text file. The program reads this
file to get follower data for each account.

2. Instagram Account Dictionary:

Define a dictionary (InstagramAccount) to represent an Instagram account with attributes like


name, follower_count, description and country name.

3. Game Logic:
 Select two random Instagram accounts from the data file using random function.
 Display the usernames and follower counts, description and country name for the two
selected accounts.
 Prompt the player to guess which account has more followers.
4. Outcome Determination:
 Compare the follower counts of the two accounts to determine the correct answer.
 Inform the player if their guess was correct or incorrect.
 If the user guesses the answer correctly it will give some score and will also give another
chance to the user to guess again.

Implementation:

Use Python classes to structure the program.

Read data from a text file to create instances of InstagramAccount.

Randomly select two accounts for each round of the game.

Implement user input validation to ensure a valid guess.

Provide feedback to the player based on the correctness of their guess.

Allow the player to play multiple rounds and track their overall performance.

#################### ====Hint-1 ==== ####################

Generate a random account from the game data.

#################### ====Hint-2 ==== ####################

# Format account data into printable format.

#################### ====Hint-3 ==== ####################

# Ask user for a guess.

#################### ====Hint-4 ==== ####################

# Check if user is correct.

## Get follower count.

## If Statement
# Feedback.

# Score Keeping.

# Make game repeatable.

# Make B become the next A.

# Add art.

# Clear screen between rounds.

You might also like