Tyeon Ford
Built for CSMC 240: Software Systems Program format & poke.h by Dr. M Charity & Dr. Ballash
A simulation of a Pokemon PC.
- Allows trainers(users) to send Pokemon from their party to their PC, and vice versa.
- Also allows them to see the data of Pokemon currently in their party.
- Show PC - Shows all the Pokemon currently in the PC
- Show Party - Shows all the Pokemon currently in the party
- Show Pokemon - Shows all the data for a specific (by index) Pokemon in the party
- Send Pokemon to PC - Sends a Pokemon (given by index) from the party to the PC
- Send Pokemon to Party - Sends a Pokemon (given by index) from the PC to the party
- Exit - Exits the Pokemon PC (given to you already)
The code is still functional and does not allow the user to input a value but instead returns a different message on 3 occasions:
-
If the party is empty (Show Pokemon, Show party, Send Pokemon to PC)
-
If the PC is empty (Show PC, Send Pokemon to Party)
-
If there is an invalid index given -- e.g. out of bounds (any option, including the menu)