Author: Musa Azeem
Date Completed: 7/1/22
This project loads a database of video games, searches for video games
based on their titles and console, and can save the search results to
a new file.
Unix system with java installed
.
├── makefile
├── README.md
├── res
│ └── Collection.txt
└── src
├── GenLL.java
├── VideoGameFrontEnd.java
├── VideoGameHelper.java
└── VideoGame.java
- Open terminal
- Clone the repository
git clone "https://github.com/Musa-Azeem/VideoGameSearch"
- Change directory to local project
cd VideoGameSearch
clean repository: make clean
compile project: make compile
run project: make run
- Options will be displayed upon running the project
- First, load a database into the project by entering 1
- an example video game database is locating in the
res
directory
- an example video game database is locating in the
- Enter 2 to search the database by Video Game title or by the name of the
console it runs on- entering
*
for either category will include all results
- entering
- Enter 3 to print the most recent results to the console
- Enter 4 to save the most recent results to a specified filename
- if file already contains data, choose append when given the option to
append the search results to the end of the file
- if file already contains data, choose append when given the option to
- To stop the program, enter 0
- The database is a tab delimited plain text file
- Format:
Title
\tConsole
- This class contains the main method and other helper methods, and serves as
the interface to run the program - In a continous event loop, users are provided options to run different tasks
- It is defined in the file
src/VideoGameFrontEnd.java
- This class contains helper methods to provide functionality for the search,
file reading, and file writing capabilities of the program - It creates and manages a linked list of VideoGame objects
- It is defined in the file
src/VideoGameHelper.java
- This class defines an instance of a video game, defining its title and the
console it runs on - It is defined in the file
src/VideoGame.java
- This class is a simple implementation of a generic linked list, with a
selection of the standard features - It is defined in the file
src/GenLL.java