@@ -0,0 +1,1869 @@
+import java.util.*;%0A%0Aclass Player %7B%0A%0A    public static void main(String args%5B%5D) %7B%0A        Scanner in = new Scanner(System.in);%0A        int lightX = in.nextInt(); // the X position of the light of power%0A        int lightY = in.nextInt(); // the Y position of the light of power%0A        int initialTX = in.nextInt(); // Thor's starting X position%0A        int initialTY = in.nextInt(); // Thor's starting Y position%0A        // game loop%0A        while (true) %7B%0A            int remainingTurns = in.nextInt(); // The remaining amount of turns Thor can move. Do not remove this line.%0A%0A            if(lightY==initialTY && lightX%3EinitialTX)%7B%0A                initialTX++;%0A                  System.out.println(%22E%22);%0A            %7D%0A            else if(lightY%3EinitialTY && lightX%3EinitialTX)%7B%0A                initialTX++;%0A                initialTY++;%0A                 System.out.println(%22SE%22);%0A            %7D%0A            else if(lightY%3EinitialTY && lightX==initialTX)%7B%0A                initialTY++;%0A                 System.out.println(%22S%22);%0A            %7D%0A            else if(lightY%3EinitialTY && lightX%3CinitialTX)%7B%0A                initialTY++;%0A                initialTX--;%0A                 System.out.println(%22SW%22);%0A            %7D%0A            else if(lightY==initialTY && lightX%3CinitialTX)%7B%0A                initialTX--;%0A                 System.out.println(%22W%22);%0A            %7D%0A            else if(lightY%3CinitialTY && lightX%3CinitialTX)%7B%0A                initialTY--;%0A                initialTX--;%0A                 System.out.println(%22NW%22);%0A            %7D%0A            else if(lightY%3CinitialTY && lightX==initialTX)%7B%0A                initialTY--;%0A                 System.out.println(%22N%22);%0A            %7D%0A            else if(lightY%3CinitialTY && lightX%3EinitialTX)%7B%0A                initialTY--;%0A                initialTX++;%0A                 System.out.println(%22NE%22);%0A            %7D%0A%0A        %7D%0A    %7D%0A%7D%0A

Create Player.java