//Zachary Fitzsimmons import java.io.*; import java.util.*; public class BoardGame { public static void main(String[] args) throws IOException { Scanner scan = new Scanner(new File("board.dat")); boolean[][] map = new boolean[6][6]; Stack sloc = new Stack(); Queue qloc = new LinkedList(); Stack> s_qloc = new Stack>(); } public Queue copy(Queue q) { Queue qCopy = new LinkedList(); E o = q.peek(); E e = q.remove(); while(e != null) { qCopy.add(e); q.add(e); if(q.peek() == o) e = null; else e = q.remove(); } return qCopy; } }