public static void main(String[] args) {
                // TODO Auto-generated method stub
                
                VirtualChess object = new VirtualChess(); // Create a new object
                
                AbstractPiece [][] x = object.board();
                String user_input = " ";
                int player1 = 0;
                int player2 = 0;
                boolean quit = true;
                
                while(quit){
                                object.print(x);        //print original board
                                System.out.println();
                                System.out.println("Make Your Move (Format: e1 to e5)");
                                System.out.println("Player 1: " + player1);
                                System.out.println("Player 2: " + player2);
                                Scanner input = new Scanner(System.in); // Get string from user
                                user_input = input.nextLine();                // assign user input to move
                                        
                                if(user_input.equals("exit"))
                                {
                                                        System.err.print("Game Over!");
                                                        quit = false;
                                }
                                else
                                {
                                                        int [] starting = object.starting_position(user_input); // turn user string into a starting position
                                                        int [] ending = object.end_position(user_input);        // turn user string into end position
                                                        
                                                        
                                                        int value = object.points(x, starting, ending); //what points are due
                
                                                        if(object.correct(x, starting, ending) == false) //Flagged if move is invalid
                                                        {
                                                                System.err.print("Invalid Move");
                                                                
                                                        } 
                                                           //check to see what points are given 
                                                        
                                                        if(x[starting[0]][starting[1]].isWhite())  //see which player deserves the point, black or white...
                                                        {
                                                                player2 += value;
                                                        }
                                                        else
                                                        {
                                                                player1 += value;
                                                                
                                                        }
                                                        
                                                        AbstractPiece [][] moved_piece = object.move(x, starting, ending); //change original board to new board position
                                                        
                                                        
                                                        x = moved_piece;
                                                        System.out.println();
                                }
                }        
        }