-having problems debugging border detection code
-does not allow me to move at all when in any corner
-when approaching regular borders, players will cross over the border and end up on the other side of the board
-program is supposed to take in all of the player's actions at once and execute them accordingly
-the problem with this is if I'm stuck in a corner, turn and then try to move, the program still won't allow me to move
Here is the border detection code along with the menu and switch statement as well as the forward function:
It would seem that the ship should be able to move to position (0, 0), (0, Size - 1), (Size - 1, 0), and (Size - 1, Size - 1)
Not sure exactly how this works, as we can't see exactly how this fits into the rest of your program... but I'm assuming that the + and - 1's in that code are the result of the ship's desired movement.
Also, if you reset pChoice[i] wouldn't you want to check it again (put an i--; after the cin >> pChoice[i]; in the while loop):