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

11
but3GameBody.iml Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

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;
}