Push final du jour.
This commit is contained in:
@ -30,11 +30,9 @@ public class main {
|
||||
|
||||
System.out.println("Bienvenue dans ce jeu d'echec sur console !\n");
|
||||
|
||||
|
||||
Echiquier e = new Echiquier();
|
||||
do {
|
||||
|
||||
Echiquier e = new Echiquier();
|
||||
|
||||
// AFFICHAGE ECHIQUIER
|
||||
System.out.println(e.toString());
|
||||
|
||||
@ -57,14 +55,8 @@ public class main {
|
||||
System.out.println(e.toString());
|
||||
|
||||
// JOUEUR2
|
||||
/*System.out.println("Tour de"+j2.getNom()+"\n");
|
||||
System.out.println("Quelle pi<70>ce voulez vous d<>placer ? Donnez le numero de ligne puis de colonne.\n");
|
||||
x1 = sc.nextInt();
|
||||
y1 = sc.nextInt();
|
||||
System.out.println("A quel endroit la poser ? Donnez le numero de ligne puis de colonne.\n");
|
||||
x2 = sc.nextInt();
|
||||
y2 = sc.nextInt();
|
||||
e.deplacer(x1-1,y1-1,x2-1,y2-1);*/
|
||||
System.out.println("Tour de"+j2.getNom()+"\n");
|
||||
|
||||
do {
|
||||
System.out.println("Quelle pi<70>ce voulez vous d<>placer ? Donnez le code correspondant <20> la pi<70>ce <20> d<>placer(ex : A1).\n");
|
||||
|
||||
|
Reference in New Issue
Block a user