evynprice / eagle-travel-reservation

2021 CISP 1010 - Introduction to Object Oriented Programming group project. Implementation by Kaleb Cox, Joeseph Jackson, Evyn Price, and Andrew Slater
0 stars 0 forks source link

Example UI #1

Open evynprice opened 3 years ago

evynprice commented 3 years ago

This thread is for designing the user interface which will impact how our back-end classes will function. I've listed an example case for our travel system but I would appreciate your feedback!

Golden Eagle Travel Reservation
--------------------------------
1) Update flight information
2) Book a flight
3) View or modify your booking
4) Exit

Please select an option: _2_
-------------------------------
1) Chattanooga, TN
2) Atlanta, GA
3) Nashville, TN

Please select from the following departure cities: _1_
------------------------------
1) Chattanooga, TN
2) Atlanta, GA
3) Nashville, TN

Please select from the following arrival cities: _2_
------------------------------
Please enter your departure date (MM-DD-YY): _03-19-21_
------------------------------
Please enter your arrival date (MM-DD-YY): _3-19-21_
------------------------------
The following flights are available:
1) United 5701 ATL-CHA - 48m - 50 seats: $423
2) Delta 3102 ATL-CHA - 62m - 39 seats: $342
3) American 1932 ATL-CHA - 53m - 41 seats: $370

Please select a flight: _2_
-----------------------------
Please enter your email: _test@test.com_
-----------------------------
Your reservation has been booked.
-----------------------------
1) Update flight information
2) Book a flight
3) View or modify your booking
4) Exit

Please select an option: _4_
----------------------------
Thank you for using Eagle Travel.
jtuxjackson commented 3 years ago

I am still quite unfamiliar with GIT. Great work tho evyn I was getting on here to post a very similar thing but I like yours better so I won't bother. great job!

evynprice commented 3 years ago

Updated system

Eagle Travel Reservation System
-----------------------------------
// Description of this system

1) Book a flight
2) Modify your booking
3) Quit

Please select an option: _1_
-----------------------------------
1) Chattanooga, TN
2) Collegedale, TN
3) Return to menu

Please select your departure city: _1_
-----------------------------------
1) Chattanooga, TN
2) Collegedale, TN
3) Return to menu

Please select your arrival city: _2_
-----------------------------------
Please enter your departure date (MM-DD-YY): 03-16-21
-----------------------------------
1) United 5701 ATL-CHA (3:35pm - 5:32pm) - 2h:21m
2) Delta 3817 ATL-CHA (2:32pm - 4:56pm) - xh:ym
3) Delta 3817 ATL-CHA (2:32pm - 4:56pm) - xh:ym
4) USPS Same day shipping (2:32pm - 2:33pm) - ym
5) Return to menu

Please select a flight: _3_
-----------------------------------
Your selected flight: Delta 3817 ATL-CHA (2:32pm - 4:56pm) - xh:ym

Please enter your email: test@test.com
-----------------------------------
Your booking has been confirmed under test@test.com
-----------------------------------
1) Book a flight
2) Modify your booking
3) Quit

Please select an option: _2_
-----------------------------------
Please enter your email address: test@test.com
-----------------------------------
Your flight is: Delta 3817 ATL-CHA (2:32pm - 4:56pm) - xh:ym

1) Cancel your Flight
2) Return to menu
-----------------------------------
Your flight has been canceled.
-----------------------------------
1) Book a flight
2) Modify your booking
3) Quit

Please select an option: _3_
-----------------------------------
Thank you for using Golden Eagle Travel.