Skip to content

Assignment: Trainers (users) can send Pokemon from their party to their PC, and vice versa. As well as see the data of their current party.

Notifications You must be signed in to change notification settings

okmissty/Pokemon-PC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon PC

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.

Commands

  1. Show PC - Shows all the Pokemon currently in the PC
  2. Show Party - Shows all the Pokemon currently in the party
  3. Show Pokemon - Shows all the data for a specific (by index) Pokemon in the party
  4. Send Pokemon to PC - Sends a Pokemon (given by index) from the party to the PC
  5. Send Pokemon to Party - Sends a Pokemon (given by index) from the PC to the party
  6. Exit - Exits the Pokemon PC (given to you already)

Edge Cases

The code is still functional and does not allow the user to input a value but instead returns a different message on 3 occasions:

  1. If the party is empty (Show Pokemon, Show party, Send Pokemon to PC)

  2. If the PC is empty (Show PC, Send Pokemon to Party)

  3. If there is an invalid index given -- e.g. out of bounds (any option, including the menu)

About

Assignment: Trainers (users) can send Pokemon from their party to their PC, and vice versa. As well as see the data of their current party.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages