Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in java using eclipse, example is included below Objective: Write a program in which the user loads and searches a database of video games. Users

in java using eclipse, example is included below image text in transcribed
image text in transcribed
Objective: Write a program in which the user loads and searches a database of video games. Users should have the option to search games by their title and their console based on partial matches. In addition, the user can use the wildcard *** to indicate they want all results from either titles or consoles. The user should have the option to both print the results of the search via the console or print the results to a file. Requirements: The program must read a video game collection file given its name. The file is assumed to have the name and the console in a tab delimited format: >\> An example file can be found here. The user should be able to load a different file at any time. A generic linked list, of one's own creation, must be the primary data structure used in the solution Do not use built-in Java data structures such as an Array, ArrayList, etc. Extra methods may be added to the generic linked list. The program must be able to search the contents of the file given the name of the game and its console. Partial matches for the name or console are acceptable. Matches are not case sensitive. Users may use the wildcard character "*" to indicate they want all games, consoles, or both. The program must print out the current search results to the console. The user should be able to print out the results to a file. The user should be given the option to name the file. The user should be given the option to create a new file (or overwrite an existing file) or append to an existing file. The program should keep running this until the user quits. The solution should demonstrate good software engineering practices. Include your name as a comment in every source file. Everything should NOT be written in just the main method. There should be 2 or 3 different classes used, and functionality for each should be grouped into a reasonable number of methods. Identifiers should be understandable and there should be a reasonable number of comments explaining the code. Example Dialog: Welcome to the video game database! Enter I to load the video game database Enter 2 to search the database Enter 3 to print current results Enter 4 to print current results to file Enter O to quit 1 Enter the file name Collection.txt Enter 1 to load the video game database Enter 2 to search the database Enter 3 to print current results Enter 4 to print current results to file Enter o to quit 2 Enter the name of the game or for all nanes Super Enter the name of the console or for all consoles Nintendo Super Alfred Chicken Super Nintendo [NA] "Super Aquatic Games Starring the Aquabats, The Super Nintendo (NA) Super Castlevania TV Super Nintendo (NA) Super Dodge Ball Nintendo Entertainment System (US) Super Empire Strikes Back Super Nintendo [A] Super Ghouls 'N Ghosts Super Nintendo (NA) Super Glove Ball Nintendo Entertainment System (US) Super Mario All-Stars Super Nintendo (NA) Super Mario Bros. (5 Screw Cartridge) Nintendo Entertainment System (US) Super Mario Bros. / Duck Hunt (No Nintendo Seal of Quality) Nintendo Entertainment System [US] Super Mario Bros. 2 (No Nintendo Seal of Quality Nintendo Entertainment System (US) Super Mario Bros. 3 (Bros. above Mario's Head) Nintendo Entertainment System Super Mario Kart Super Nintendo (NA) Super Mario World Super Nintendo NA Super Mario World 2: Yoshi's Island Super Nintendo Super Metroid Super Nintendo (NA) Super Noah's Ark 3D Super Nintendo (BA) Super Pittall (3 Screw Cartridge) Nintendo Entertainment System (US) Super Punch-Out!! Super Nintendo (NA) Super Scope 6 Super Nintendo (NA) Super Spike V'Ball / Nintendo World Cup Nintendo Entertainment System (US) Super Star Wars (JVC) Super Nintendo [SA] Super Star Wars: Return of the Jedi (JVC) Super Nintendo teu) Super Street Fighter II Super Nintendo (NA) Super Team Games Nintendo Entertainment System (US) Super Tennis Super Nintendo (NA) Enter 1 to load the video game database Enter 2 to search the database Enter 3 to print current results Enter to print current results to file Enter O to quit 4 Enter the file name to print out. superGames.txt Append to file? True or false. false Enter 1 to load the video game database Enter 2 to search the database Enter 3 to print current results Enter 4 to print current results to file Enter o to quit 0 Goodbye

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions