import java.util.function.IntConsumer;

import java.util.*;

public class GameEngine
{
    public GameEngine (boolean debug)
    {
        _debug = debug;
    }

    private Intcode _computer;
    private boolean _debug;
}
@@ -103,16 +103,45 @@
 Engine (
+Vector%3CString%3E instructions, 
 boolean 
@@ -166,86 +166,1927 @@
    _
-debug = debug;%0A    %7D%0A%0A    private Intcode _computer;%0A    private boolean _debug;
+computer = new Intcode(instructions, INITIAL_INPUT, debug);%0A        _debug = debug;%0A    %7D%0A%0A    public final boolean playGame ()%0A    %7B%0A        int x = 0;%0A        int y = 0;%0A        int id = TileId.EMPTY;%0A%0A        while (!_computer.hasHalted())%0A        %7B%0A            _computer.singleStepExecution(INITIAL_INPUT);%0A%0A            if (_computer.hasOutput())%0A            %7B%0A                x = Integer.parseInt(_computer.getOutput());%0A            %7D%0A            else%0A            %7B%0A                System.out.println(%22Error - no x value given!%22);%0A%0A                return false;%0A            %7D%0A%0A            if (!_computer.hasHalted())%0A            %7B%0A                _computer.singleStepExecution(INITIAL_INPUT);%0A%0A                if (_computer.hasOutput())%0A                %7B%0A                    y = Integer.parseInt(_computer.getOutput());%0A                %7D%0A                else%0A                %7B%0A                    System.out.println(%22Error - no y value given!%22);%0A%0A                    return false;%0A                %7D%0A%0A                if (!_computer.hasHalted())%0A                %7B%0A                    _computer.singleStepExecution(INITIAL_INPUT);%0A%0A                    if (_computer.hasOutput())%0A                    %7B%0A                        id = Integer.parseInt(_computer.getOutput());%0A                    %7D%0A                    else%0A                    %7B%0A                        System.out.println(%22Error - no id value given!%22);%0A%0A                        return false;%0A                    %7D%0A                %7D%0A%0A                System.out.println(%22**got %22+x+%22 %22+y+%22 %22+TileId.idToString(id));%0A            %7D%0A            else%0A            %7B%0A                System.out.println(%22Error - computer halted after x!%22);%0A%0A                return false;%0A            %7D%0A        %7D%0A%0A        return true;%0A    %7D%0A%0A    private Intcode _computer;%0A    private boolean _debug;%0A%0A    private static final int INITIAL_INPUT = 0; // nothing specified in the overview
 %0A%7D

Update GameEngine.java