public class Prologin extends Interface {

	public void partie_init() {
	}

	public void jouer_tour() {
		int moi = Interface.moi();
		Position pos = Interface.position_agent(moi);
		Position[] pInRange = Util.getPortalInRange(moi,
				Interface.points_deplacement());
		if (pInRange.length != 0) {
			Interface.deplacer(pInRange[0]);
			if(Interface.portail_joueur(pInRange[0]) == -1) { // neutre
				Interface.capturer();
			} else if(Interface.portail_joueur(pInRange[0]) == Interface.adversaire()) { // adv
				Interface.neutraliser();
				Interface.capturer();
			} else { // me
				
			}
		} else {
			Positon n = Util.getNearestPortal(moi);
			
		}
	}

	public void partie_fin() {
	}

}
