void makeMove(BufferedReader in, PrintWriter out) throws IOException {
		updateNav();
		if(bomb_counter > 0) bomb_counter--;
		
		String move = moves.poll();
		String method = "move in queue";
		if(move == null || !moveSafe(move) || enemyCheck()){
			moves.clear();
			if(canPlaceBombAndEscape(moves)){
				move = "BOMB";
				method = "ok bomb spot";
				bomb_counter = 5;
			} else {
				move = "none";
				method = "no safe moves, uh oh...";
				Collections.shuffle(options);
				for(int i = 0; i < 4; ++i){
					move = options.get(i);
					if(moveSafe(move)){
						method = "random safe";
						break;
					}
				}
			}
		}
		
		System.out.printf("Chose move %s (%s).\n", move, method);
		if(!move.equals("none")){
			out.println("ACTION " + move);
	
			String res = in.readLine();
			if(!res.equals(move)){
				System.out.println("Bad move: " + res);
			}
		}
	}