Compare commits
No commits in common. "master" and "master" have entirely different histories.
3
.idea/.gitignore
generated
vendored
3
.idea/.gitignore
generated
vendored
@ -1,3 +0,0 @@
|
|||||||
# Default ignored files
|
|
||||||
/shelf/
|
|
||||||
/workspace.xml
|
|
8
.idea/artifacts/API_BUT5_5_jar.xml
generated
8
.idea/artifacts/API_BUT5_5_jar.xml
generated
@ -1,8 +0,0 @@
|
|||||||
<component name="ArtifactManager">
|
|
||||||
<artifact type="jar" name="API_BUT5.5:jar">
|
|
||||||
<output-path>$PROJECT_DIR$/out/artifacts/API_BUT5_5_jar</output-path>
|
|
||||||
<root id="archive" name="API_BUT5.5.jar">
|
|
||||||
<element id="module-output" name="API_BUT5.5" />
|
|
||||||
</root>
|
|
||||||
</artifact>
|
|
||||||
</component>
|
|
8
.idea/artifacts/API_BUT5_5_jar2.xml
generated
8
.idea/artifacts/API_BUT5_5_jar2.xml
generated
@ -1,8 +0,0 @@
|
|||||||
<component name="ArtifactManager">
|
|
||||||
<artifact type="jar" name="API_BUT5.5:jar2">
|
|
||||||
<output-path>$PROJECT_DIR$/out/artifacts/API_BUT5_5_jar2</output-path>
|
|
||||||
<root id="archive" name="API_BUT5.5.jar">
|
|
||||||
<element id="module-output" name="API_BUT5.5" />
|
|
||||||
</root>
|
|
||||||
</artifact>
|
|
||||||
</component>
|
|
9
.idea/libraries/API_BUT5_5.xml
generated
9
.idea/libraries/API_BUT5_5.xml
generated
@ -1,9 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="API_BUT5.5">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$PROJECT_DIR$/out/artifacts/API_BUT5_5_jar/API_BUT5.5.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</component>
|
|
6
.idea/misc.xml
generated
6
.idea/misc.xml
generated
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="21" project-jdk-type="JavaSDK">
|
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
8
.idea/modules.xml
generated
8
.idea/modules.xml
generated
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectModuleManager">
|
|
||||||
<modules>
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/API_BUT5.5.iml" filepath="$PROJECT_DIR$/API_BUT5.5.iml" />
|
|
||||||
</modules>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
6
.idea/vcs.xml
generated
6
.idea/vcs.xml
generated
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -10,7 +10,4 @@ Création de l'API publique
|
|||||||
- Ajout de la documentation
|
- Ajout de la documentation
|
||||||
|
|
||||||
### 09/10/2024 - 10h10 :
|
### 09/10/2024 - 10h10 :
|
||||||
- Ajout de l'archive JAR
|
- Ajout de l'archive JAR
|
||||||
|
|
||||||
### 09/10/2024 - 16h25 :
|
|
||||||
- Ajout de méthodes et d'une classe pour l'implémentation du carnet
|
|
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
Manifest-Version: 1.0
|
|
||||||
Main-Class: Main
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
Manifest-Version: 1.0
|
|
||||||
Main-Class: Main
|
|
||||||
|
|
@ -35,7 +35,7 @@ public interface Plateau {
|
|||||||
*
|
*
|
||||||
* @return the result
|
* @return the result
|
||||||
*/
|
*/
|
||||||
Result getResult();
|
int getResult();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List next legals moves
|
* List next legals moves
|
||||||
@ -63,44 +63,4 @@ public interface Plateau {
|
|||||||
*/
|
*/
|
||||||
void undoPly(Ply ply);
|
void undoPly(Ply ply);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Used to verify if the Situation is already in the bookmarks
|
|
||||||
*
|
|
||||||
* @throws UnsupportedOperationException if the method is not yet implemented
|
|
||||||
*
|
|
||||||
* @return the answer
|
|
||||||
*/
|
|
||||||
default boolean isAlreadyDone(){
|
|
||||||
throw new UnsupportedOperationException("Feature not yet implemented");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Used to check the value of the current Situation
|
|
||||||
*
|
|
||||||
* @throws UnsupportedOperationException if the method is not yet implemented
|
|
||||||
*
|
|
||||||
* @throws IllegalStateException if the Situation is not in the bookmarks
|
|
||||||
*
|
|
||||||
* @return the value
|
|
||||||
*/
|
|
||||||
default int getSituationValue(){
|
|
||||||
throw new UnsupportedOperationException("Feature not yet implemented");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Used to add a Situation to the bookmarks
|
|
||||||
*
|
|
||||||
* @throws UnsupportedOperationException if the method is not yet implemented
|
|
||||||
*
|
|
||||||
* @throws IllegalStateException if the Situation is already in the bookmarks
|
|
||||||
*/
|
|
||||||
default void addSituation(Result res){
|
|
||||||
throw new UnsupportedOperationException("Feature not yet implemented");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,4 +2,5 @@ package fr.iut_fbleau.raw_api_body.entity;
|
|||||||
|
|
||||||
public abstract class Ply {
|
public abstract class Ply {
|
||||||
|
|
||||||
}
|
|
||||||
|
}
|
||||||
|
@ -3,8 +3,19 @@ package fr.iut_fbleau.raw_api_body.entity;
|
|||||||
/**
|
/**
|
||||||
* The type Result.
|
* The type Result.
|
||||||
*/
|
*/
|
||||||
public enum Result {
|
public class Result {
|
||||||
GAGNE,
|
|
||||||
EGALITE,
|
/**
|
||||||
PERDU;
|
* The constant GAGNE.
|
||||||
}
|
*/
|
||||||
|
public final static int GAGNE = 1;
|
||||||
|
/**
|
||||||
|
* The constant EGALITE.
|
||||||
|
*/
|
||||||
|
public final static int EGALITE = 0;
|
||||||
|
/**
|
||||||
|
* The constant PERDU.
|
||||||
|
*/
|
||||||
|
public final static int PERDU = -1;
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
package fr.iut_fbleau.raw_api_body.entity;
|
|
||||||
|
|
||||||
public abstract class Situation {
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user