-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fayçal Bounab
committed
Feb 27, 2019
1 parent
5afe401
commit 5ba5b2f
Showing
5 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Explication sur d'un scénario de jeu (Choisir une parcelle et une position puis la poser sur le plateau) | ||
|
||
- En premier lieu on rajoute "Parcelle" à l'URL : http://localhost:8080/takenoko_war_exploded/ ; La page s'actualisera et propsera trois parcelles et trois positions. | ||
- Après pour poser la parcelle il suffit de Rajouter "Poser/x/y" à l'URL de base tel que x représente la x ème parcelle proposée dans l'étape précédente et y la y ème position proposée.("Parcelle posee avec succes" est le message affiché) | ||
- Enfin en rajoutant "Final" à l'URL de base, la tuile posée sera affichée . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package takenoko.moteur; | ||
|
||
import javax.ws.rs.ApplicationPath; | ||
import javax.ws.rs.core.Application; | ||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
@ApplicationPath("/") | ||
|
||
public class MyApplication extends Application { | ||
@Override | ||
public Set<Class<?>> getClasses() { | ||
HashSet h = new HashSet<Class<?>>(); | ||
h.add( Serveur.class ); | ||
return h; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters