@Override
	protected Move makeMove(boolean[] foodpresent, int[] neighbors,
			int foodleft, int energyleft) {
		Move m = null;

		
		if (energyleft <= ENERGY_TO_MOVE * 5 && foodleft != 0) {
			return null;
		}
		
		int direction = 4;
		for (int move : getValidMoves(neighbors)) {
			if (foodpresent[move]) {
				direction = move;
			}
		}
		switch (direction) {
		case 0:
			m = new Move(STAYPUT);
			break;
		case 1:
			m = new Move(WEST);
			break;
		case 2:
			m = new Move(EAST);
			break;
		case 3:
			m = new Move(NORTH);
			break;
		case 4:
			m = new Move(SOUTH);
			break;
		}
		return m;
	}