Question: IN PYTHON PLEASE!!! Overview Pull up a chair and pop that Mountain Dew, it's time to play some board games! The provided input file is

 IN PYTHON PLEASE!!! Overview Pull up a chair and pop that

Mountain Dew, it's time to play some board games! The provided input

IN PYTHON PLEASE!!!

Overview Pull up a chair and pop that Mountain Dew, it's time to play some board games! The provided input file is Dr. Gibbons' actual board game collection. Inside you'll find grounds for divorce, I mean you'll find a listing of the games I own, my rating, the public's rating, and other useful information. Your job is to pull all the information out the file and let the user query the data in various ways. This lab will only depend on your 168 knowledge: Class defining and object creation . Initializing an object member variables, and member methods . List of objects File I/O . Basic terminal I/O Please use the C++ to Python documento to either as a primer or a refresher. Mountain Dew is not affiliated with KU, Dr. Gibbons, or the State of Kansas. It's also kind of gross. File format The file contains several rows, each row contains the information for a single game. Each game has the following format All data here has been provided by Board Game Geeken NOTES: . I modified the names to help you read them in easier (spaces replaced with underscores and all names are lowercase) All ratings are between and 10 Some aren't standalone games, but are expansions, you don't have to worry about distinguishing them Sample layout from the file 10 10_minute_heist:_the_wizard's_tower 2017 6 5.87304 5 1st_&_goal 2011 7.5 6.02351 4 150 7_wonders_duel 2015 8 7.97914 2 30 adventure_time: _love_letter 2015 6.5 6.3181 4 20 arkham_horror:_the_card_game 2016 9.5 7.92726 2 120 arkham_horror:_the_card_game_"_return_to_the_night_of_the_zealot arkham_horror:_the_card_game_"_the_dunwich_legacy:_expansion 2017 arkham_horror:_the_card_game_"_the_forgotten_age:_expansion 2018 arkham_horror:_the_card_game_"_the_path_to_carcosa:_expansion 2017 bang!_the_dice_game 2013 7.5 6.81194 8 15 120 2018 7 8 9 3 6.09202 2 7.32741 2 120 6.22352 4 120 6.83716 2 120 User Interactions The user will launch your program and pass enter the file name containing the player data from the terminal. Once the file is read in, provide the user with a menu in order to do the following: Name (year) [GR=gibbons-rating, PR=public-rating, MP=min-players, MT=min-playtime) For example: 10_minute_heist:_the_wizard's_tower (2017) [GR=6, PR=5.87996, MP=2, MT=10] 1st_&_goal (2011) [GR=7.5, PR=6.05092, MP=2, MT=120] Unless otherwise stated, when printing a player to the screen, use the following format: User's Menu 1. Print all games (same order as from file) 2. Print all games from a year Obtain a year from the user and either print all the games from that year or print "No games found" 3. Print a ranking range Obtain a ranking range (e.g. 1 - 10) from the user and print all in that ranking range (Gibbons rating) 4. The People VS Dr. Gibbons . The goal of this is see where Dr. Gibbons and the people disagree Obtain a number (0-10, decimals allowed) from the user and print all games where the people's rating and Dr. Gibbons rating are separated by that much or more Example, if the user wanted to see all games where the people's rating and Dr. Gibbons' rating differed by more than 1.5, they would enter 1.5 at the prompt then you see games like Pandemic listed . NOTE: This option doesn't care which rating is higher, it just prints games where ratings differ by a threshold set by the user 5. Print based on play time Obtain a play time (in minutes) from the user Print all games that have a min play time of that value or lower 6. Exit the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!