Changement main

This commit is contained in:
Johann
2019-05-27 22:03:07 +02:00
parent ae2d2b94bd
commit 3a5dac9857
2 changed files with 34 additions and 85 deletions

View File

@@ -45,14 +45,14 @@ public class Echiquier {
//ATTRIBUTS
private String[][] codes = //pour définir quel code correspond a quel case
{
{"a8","b8","c8","d8","e8","f8","g8","h8"},
{"a7","b7","c7","d7","e7","f7","g7","h7"},
{"a6","b6","c6","d6","e6","f6","g6","h6"},
{"a5","b5","c5","d5","e5","f5","g5","h5"},
{"a4","b4","c4","d4","e4","f4","g4","h4"},
{"a3","b3","c3","d3","e3","f3","g3","h3"},
{"a2","b2","c2","d2","e2","f2","g2","h2"},
{"a1","b1","c1","d1","e1","f1","g1","h1"}
{"A8","B8","C8","D8","E8","F8","G8","H8"},
{"A7","B7","C7","D7","E7","F7","G7","H7"},
{"A6","B6","C6","D6","E6","F6","G6","H6"},
{"A5","B5","C5","D5","E5","F5","G5","H5"},
{"A4","B4","C4","D4","E4","F4","G4","H4"},
{"A3","B3","C3","D3","E3","F3","G3","H3"},
{"A2","B2","C2","D2","E2","F2","G2","H2"},
{"A1","B1","C1","D1","E1","F1","G1","H1"}
};
//declaration de toutes les pieces de l'echiquier