package inputStrategy;

import project.Turn;

import java.util.Scanner;

public class HumanInputStrategy implements InputStrategy {

    public Turn execute() {

        Scanner userInput = new Scanner(System.in);

        Turn turn = new Turn();
        turn.row = Integer.parseInt(userInput.next());
        turn.column = Integer.parseInt(userInput.next());

        return turn;
    }
}

@@ -130,41 +130,8 @@
  %7B%0A%0A
-    public Turn execute() %7B%0A%0A    
     
@@ -178,21 +178,51 @@
 n);%0A%0A   
+ public Turn execute() %7B%0A%0A%0A
      
+   
 Turn tur
@@ -260,43 +260,107 @@
 w = 
-Integer.parseInt(userInput.next());
+getRow();%0A        turn.column = getColumn();%0A%0A        return turn;%0A    %7D%0A%0A    private int getRow()%7B
 %0A   
@@ -364,29 +364,22 @@
         
+re
 turn
-.column =
  Integer
@@ -411,34 +411,99 @@
 ));%0A
-%0A        return turn
+    %7D%0A%0A    private int getColumn()%7B%0A        return Integer.parseInt(userInput.next())
 ;%0A    %7D%0A
 %7D%0A
@@ -500,10 +500,11 @@
 ;%0A    %7D%0A
+%0A
 %7D%0A

refactor how input turn is retrieved.