I need someone to program me a very simple program. Here is all I need the program to do:
I The Game Store App should enable the user to do the following:
1. Add games they want to sell to a list (you can represent this as an array).
2. Search for existing games and return all games found or an appropriate message if the
item searched doesn’t match any of the items in the list. If no exact match is found but a
string matching the input string is returned, return that with an appropriate message
noting that the game wasn’t found but the following matching the input string is found
3. Display a list of all games already added to the list, or an appropriate message that no
items exist on the list and prompt the user to add items, or exit the app.
4. Delete an item from the list.
Your Game Store App MUST, at a minimum, consist of the following application classes and
1. IGameAble– this interface class should include the methods that will later be
implemented. These methods will perform the following functions.
a) Add games
b) Search games
c) Delete games
d) Display all games
2. Game – the game class should include, at a minimum, the following data items – name,
price, discount, year the game was published, publisher, ratings (PG, R, etc). Itshould also
a) A ToString() method that returnsthe name of the game, the year it was published,
the publisher, ratings, price etc. as a string.
b) A Display() method that displays, to the console, the results of the ToString()
3. GameStore – this class implements the abstract methods in the IGameAble interface
class. This method should include, at a minimum:
a) an array of Games (the elements of the array will be objects of the Game class).
b) Add – override from the interface class. This accepts an object of Game class and
add it to the array of Games in (a) above
c) Search – override the from the interface class. Accepts an object of Game type.
d) Display – override from the interface class. Calls the display method in the Game
class for each Game in the games array in (a) above.
e) Delete – override from the interface class. Removes a game matching a given
name. Note, in your game class you can add a field of boolean data type to indicate
whether the game is deleted or not to help you keep track of it. Alternatively, you
can set it to null to indicate it has been deleted.
Game Store App
4. GameStoreApp – this should be the entry point of your application and should work as
a) When the application first launches, provide a menu items prompting the user to
type in a number (or a letter) corresponding to what the user would like to do. For
You can do the following with our Game Store App.
1 - Add Item
2 - Search Item
3 - Display all Items
4 - Delete Item"
0 – Exit
Type a number that corresponds to what you’d like to do >>
b) When adding an item, keep prompting the user to add items to the list until either
they press a sentinel value to exit the app or until the list if full and they can no
longer add more items. When a game is entered make sure all information about
the game is collected – name, publisher etc.
c) When searching an item, display the item if found or display a message showing
that only partial matches were found, or that no items were found
d) When deleting an item, if an item matching what needs to be deleted is found
Prompt the user again to confirm DELETE. If the user confirms that they would like
to delete, then perform the delete otherwise do not delete the item. Display an
appropriate message when the delete is completed or not.
e) Display should just display all items currently in the list of games - calls the display method in the GameStoreClass