This commit is contained in:
2024-10-09 09:02:19 +02:00
commit d4fcdfe189
6 changed files with 53 additions and 0 deletions

5
src/Main.java Normal file
View File

@@ -0,0 +1,5 @@
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}

View File

@@ -0,0 +1,14 @@
package fr.iut_fbleau.but3GameBody.entity;
import java.util.Iterator;
public interface Plateau {
Player getPlayer();
boolean isFinished();
Result getResult();
Iterator<Ply> givePlies();
void doo(Ply ply);
void undo(Ply ply);
}

View File

@@ -0,0 +1,8 @@
package fr.iut_fbleau.but3GameBody.entity;
public enum Player {
JOUEUR1,
JOUEUR2
}

View File

@@ -0,0 +1,6 @@
package fr.iut_fbleau.but3GameBody.entity;
public abstract class Ply {
}

View File

@@ -0,0 +1,9 @@
package fr.iut_fbleau.but3GameBody.entity;
public class Result {
public final static int GAGNE = 1;
public final static int EGALITE = 0;
public final static int PERDU = -1;
}