I have decided to make a text based chess game whereby the player/user enters in the following notation when moving a player - e1 to e2.
What i am struggling with is getting the system to accept this input/command and virtually moving the piece into this new position.
As it is text based, no graphical representation is required so the user does not need to see the piece move, I have created a 2d array which is used for the chess board ( , but am not sure how to make the command work.
Would I use some sort of loop, for/while loop?
I am new to java, so any ideas or help will be much appreciated.