Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Video Game Organizer / Sorter / Collector In this assignment we will create a video game organizer. Given a list of videogames, we will collect
Video Game OrganizerSorterCollector
In this assignment we will create a video game organizer.
Given a list of videogames, we will collect the data, clean
and organize it and sort them.
Step
We will create a VideoGame class that will hold the
data collected from the csv file.
The following attributefields are required for this class
The videogame's name
The platform of the game eg WII, XBOX, etc.
The year the videogame was made
The genre of the videogame
The publisher of the videogame
different attributes for the sales from
NA Japan, the EU and other sales across the world
Use these fields to create a constructor for the VideoGame class, as
well as getters and setters for each field.
Step
The following file contains rows of videogames and their data
vgsales.csv
vgsales.txt
Read the file, and extract each video game title, along with its data.
Then, sort the videogames by the total number of sales across the world.
Step
Write a separate java file exVideoGameRunner Create a menu that provides the user with the following options
Collect games by genre Retrieve the user's desired genre and retrieve all videogames based on that genre. Then, write them and their information into a file ex HorrorGames.txt and tell the user that the collection was successfulnot successful eg games were collected!"
Collect games by platform Retrieve the user's desired platform and retrieve all videogames based on that platform. Then write them and their information into a file ex WIIGames.txt and tell the user that the collection was successfulnot successful eg games were collected!"
Collect games by Publishers Retrieve the user's desired publisher and retrieve all videogames based on that publisher. Then write them and their information into a file ex Activision.txt and tell the user that the collection was successfulnot successful eg games were collected!"
Collect games based on total revenue made Retrieve games based on the revenue given by the user. For example, if the user desires game who's revenue was below in millions Save the games and their information into a text file and tell the user that the collection was successfulnot successful eg games were collected!"
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started