// game loop while (true) { inputs = Console.ReadLine().Split(' '); int cloneFloor = int.Parse(inputs[0]); // floor of the leading clone int clonePos = int.Parse(inputs[1]); // position of the leading clone on its floor string direction = inputs[2]; // direction of the leading clone: LEFT or RIGHT // Write an action using Console.WriteLine() // To debug: Console.Error.WriteLine("Debug messages..."); Console.WriteLine("WAIT"); // action: WAIT or BLOCK }