Class S38
java.lang.Object
ca.uqam.info.student.skyjo.ai.S38
- All Implemented Interfaces:
ca.uqam.info.max.skyjo.view.CommandSelector
Joueur robotique implémentant une stratégie de sélection de commandes
basée sur l'analyse de l'état courant du modèle Skyjo qui a pour but
de minimiser les cartes avec les plus grandes valeurs.
- Author:
- Joël Stéphane Tchiengang Nchuisseu
-
Constructor Summary
ConstructorsConstructorDescriptionS38(ca.uqam.info.max.skyjo.model.SkyjoModelReadOnly model) Constructeur du joueur robotique. -
Method Summary
Modifier and TypeMethodDescriptionintselectCommand(ca.uqam.info.max.skyjo.controller.Command[] commands, boolean b)
-
Constructor Details
-
S38
public S38(ca.uqam.info.max.skyjo.model.SkyjoModelReadOnly model) Constructeur du joueur robotique.- Parameters:
model- le model du jeu en accès lecture.
-
-
Method Details
-
selectCommand
public int selectCommand(ca.uqam.info.max.skyjo.controller.Command[] commands, boolean b) - Specified by:
selectCommandin interfaceca.uqam.info.max.skyjo.view.CommandSelector
-
getDescriptor
- Specified by:
getDescriptorin interfaceca.uqam.info.max.skyjo.view.CommandSelector
-