graisezr / Anthology-Maker

generate a list of poems based on ur preferred theme and category
0 stars 0 forks source link

- Rewrote the console to reflect the following user journey: #34

Closed mifi555 closed 1 year ago

mifi555 commented 1 year ago

searchByForm(): User decides to search by form. A menu of forms is displayed. Next, the user chooses a form. A list of titles pertaining to that form is displayed. This is done via accessing the formMap at key = chosen form. Next, the user picks a title pressing a number (i.e., index in ArrayList). The poem is displayed. Next, the console asks: "Do you want to add this poem to your anthology? Yes/No. If yes, we add the poem to a private instance variable named userAnthology (ArrayLists). Either way (yes or no), console asks: "Are you done with picking?" If yes, write out .txt file with all poems in userAnthology. If No, go back to initial menu. Use index from map to choose which poems to send to write method

This applies to form, theme, and author