Examples of Fou


Examples of echiquier.pieces.Fou

    plateau.put(new Position(1, 0), new Cavalier(Couleur.BLANC));
    plateau.put(new Position(6, 0), new Cavalier(Couleur.BLANC));
    plateau.put(new Position(1, 7), new Cavalier(Couleur.NOIR));
    plateau.put(new Position(6, 7), new Cavalier(Couleur.NOIR));

    plateau.put(new Position(2, 0), new Fou(Couleur.BLANC));
    plateau.put(new Position(5, 0), new Fou(Couleur.BLANC));
    plateau.put(new Position(2, 7), new Fou(Couleur.NOIR));
    plateau.put(new Position(5, 7), new Fou(Couleur.NOIR));

    plateau.put(new Position(3, 0), new Roi(Couleur.BLANC));
    plateau.put(new Position(3, 7), new Roi(Couleur.NOIR));

    plateau.put(new Position(4, 0), new Reine(Couleur.BLANC));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.