Nantes Université
Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
Les colons de Catane
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Service d'assistance
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Mathis EMERIAU
Les colons de Catane
Validations
bdb4e36e
Valider
bdb4e36e
rédigé
il y a 2 ans
par
Tristan RAME
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Added interfaces.adoc and modified FonctionnementJeu.adoc
parent
5c188fda
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
catan-doc/modules/composants/pages/FonctionnementJeu.adoc
+24
-31
24 ajouts, 31 suppressions
catan-doc/modules/composants/pages/FonctionnementJeu.adoc
catan-doc/modules/composants/pages/interfaces.adoc
+48
-0
48 ajouts, 0 suppression
catan-doc/modules/composants/pages/interfaces.adoc
avec
72 ajouts
et
31 suppressions
catan-doc/modules/composants/pages/FonctionnementJeu.adoc
+
24
−
31
Voir le fichier @
bdb4e36e
...
...
@@ -2,45 +2,38 @@
package "FonctionnementJeu"{
() "IPartie"
"IPartie" - [Partie]
() "IJoueur"
[Joueur] - "IJoueur"
() "IPlateau"
"IPlateau" - [Plateau]
() "IGame"
"IGame" -- [Game]
[Game] --- [GameBoard]
[Game] --- [Dice]
[Game] --- [Cards]
() "IPlayer"
[Player] -- "IPlayer"
[Player] -- [Cards]
() "IGameBoard"
"IGameBoard" - [GameBoard]
() "IPort"
[
Plateau
] -- "IPort"
() "I
TuilesTerrain
s"
[
Plateau] -- "ITuilesTerrain
s"
[
GameBoard
] -- "IPort"
() "I
LandTile
s"
[
GameBoard] -- "ILandTile
s"
() "IInfrastructure"
[Infrastructure] -- "IInfrastructure"
() "ICarteDeveloppement"
[Cartes] -- "ICarteDeveloppement"
() "ConnectPartieJoueur" as ConnexPJ
[Partie] -- ConnexPJ :"\t"
ConnexPJ )-- [Joueur] :"\t"
() "IDevelopmentCards"
[Cards] -- "IDevelopmentCards"
() "InteragirCartes" as InterJC
[Joueur] -- InterJC :"\t"
InterJC )-- [Cartes] :"\t"
() "
Construire" as Construire
[
Joueu
r] --
Construire
:"\t"
Construire
)-- [Infrastructure] :"\t"
[
Plateau] --( Construire
:"\t"
() "
Build" as Build
[
Playe
r] --
Build
:"\t"
Build
)-- [Infrastructure] :"\t"
[
GameBoard] --( Build
:"\t"
() "
Commercer" as Commercer
Commercer -- [Joueu
r] :"\t"
Commercer
)-- [
Joueu
r] :"\t\t"
Commercer )-- Parti
e
() "
Trade" as Trade
Trade -- [Playe
r] :"\t"
Trade
)-- [
Playe
r] :"\t\t"
Trade )-- Gam
e
[De] -- "
LancerD
e"
[D
ic
e] -- "
IDic
e"
}
...
...
This diff is collapsed.
Cliquez pour l'agrandir.
catan-doc/modules/composants/pages/interfaces.adoc
0 → 100644
+
48
−
0
Voir le fichier @
bdb4e36e
@startuml
interface Game{
start()
createGameBoard()
attributeColors()
determinatePlayersOrder()
beginningPlacement()
distributeResources(Map<Resources,Integer>)
}
interface Gameboard{
determinateResources(Integer) : Map<Color,Map<Resources,Integer>>
}
interface Player{
playTurn(GameBoard)
addToScore(Integer)
addToNbKnights(Integer)
constructRoad()
constructColony()
constructCity()
startExchangeWithPlayer()
startExchangeWithBank()
drawDevelopmentCard()
}
interface Dice{
rollDice() : Integer
}
interface LandTile{
getResource() : Resources
}
interface Infrastructure{
setToCity()
}
interface Port{
isSpecialised() : boolean
getSpecialisation() : Map<Resources,Integer>
}
interface DevelopmentCard{
playCard(Player)
}
interface Build{
updateGameBoard()
}
interface Trade{
selectResources(Map<Resources, Integer>) : Map<Resources, Integer>
sendResourcesToPlayer(Map<Resources, Integer>)
sendResourcesToBank(Map<Resources, Integer>)
}
@enduml
\ No newline at end of file
This diff is collapsed.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter