td.mesClasses
Class Morpion
java.lang.Object
td.mesClasses.Morpion
public class Morpion
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Morpion
public Morpion()
afficheGrille
public static void afficheGrille(int[][] t)
afficheJoueur
public static void afficheJoueur(int joueur)
debug
public static void debug(int[][] t)
estCoupGagnant
public static boolean estCoupGagnant(int[][] t,
int x,
int y,
int joueur)
estJoubable
public static boolean estJoubable(int[][] t,
int x,
int y)
estPlein
public static boolean estPlein(int[][] t)
joue
public static void joue(int[][] t,
int x,
int y,
int joueur)
joueurSuivant
public static int joueurSuivant(int joueur)