A B C D E G H I L M N O P R S T U V W Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- GameView - Class in it.unicam.cs.pa.mastermind.ui
-
Responsabilità: fornire agli utenti fisici coinvolti in una singola partita operazioni di Input/Output.
- GameView() - Constructor for class it.unicam.cs.pa.mastermind.ui.GameView
- GameViewFactory - Interface in it.unicam.cs.pa.mastermind.factories
-
Interfaccia finalizzata all'implementazione di classi factory per le particolari implementazioni della vista
GameView
. - generateSet() - Method in class it.unicam.cs.pa.mastermind.players.DonaldKnuthBreaker
-
Viene generato il set contenente le 1296 combinazioni possibili.
- getAttempt() - Method in class it.unicam.cs.pa.mastermind.players.CodeBreaker
- getAttempt() - Method in class it.unicam.cs.pa.mastermind.players.DonaldKnuthBreaker
- getAttempt() - Method in class it.unicam.cs.pa.mastermind.players.InteractiveBreaker
-
L'utente fisico può decidere di voler reinserire una sequenza di
ColorPegs
già inserita precedentemente. - getAttempt() - Method in class it.unicam.cs.pa.mastermind.players.RandomBotBreaker
-
Potrebbe capitare che la generazione casuale delle sequenze porti ad una sequenza di
ColorPegs
già inserita precedentemente. - getAttemptAndClueList() - Method in class it.unicam.cs.pa.mastermind.gamecore.BoardModel
-
Ottenimento di una
List
contenente tutta le coppie sequenza tentativo - sequenza indizio inserite nella plancia. - getAttempts() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getBreaker(GameView, int, int) - Method in interface it.unicam.cs.pa.mastermind.factories.BreakerFactory
-
Ottenimento di un'istanza di un giocatore
CodeBreaker
. - getBreaker(GameView, int, int) - Method in class it.unicam.cs.pa.mastermind.factories.DonaldKnuthBreakerFactory
- getBreaker(GameView, int, int) - Method in class it.unicam.cs.pa.mastermind.factories.InteractiveBreakerFactory
- getBreaker(GameView, int, int) - Method in class it.unicam.cs.pa.mastermind.factories.RandomBotBreakerFactory
- getBreakerFactory() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getBreakers() - Method in class it.unicam.cs.pa.mastermind.gamecore.GlobalSettings
- getBreakerVictoryAttempts() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchState
-
Metodo attraverso il quale vengono restituiti i tentativi usati fino ad ora dal
CodeBreaker
in caso abbia vinto. - getCodeToGuess() - Method in class it.unicam.cs.pa.mastermind.players.CodeMaker
- getCodeToGuess() - Method in class it.unicam.cs.pa.mastermind.players.InteractiveMaker
- getCodeToGuess() - Method in class it.unicam.cs.pa.mastermind.players.RandomBotMaker
- getContinue() - Method in class it.unicam.cs.pa.mastermind.gamecore.StartupSettings
- getDescription() - Method in class it.unicam.cs.pa.mastermind.factories.DonaldKnuthBreakerFactory
- getDescription() - Method in class it.unicam.cs.pa.mastermind.factories.InteractiveBreakerFactory
- getDescription() - Method in class it.unicam.cs.pa.mastermind.factories.InteractiveMakerFactory
- getDescription() - Method in interface it.unicam.cs.pa.mastermind.factories.PlayerFactory
- getDescription() - Method in class it.unicam.cs.pa.mastermind.factories.RandomBotBreakerFactory
- getDescription() - Method in class it.unicam.cs.pa.mastermind.factories.RandomBotMakerFactory
- getFactoryByName(String) - Method in class it.unicam.cs.pa.mastermind.factories.PlayerFactoryRegistry
-
Ottenimento di un'istanza di
PlayerFactory
dalla struttura dati di base conoscendo il suo nome. - getGameView() - Method in class it.unicam.cs.pa.mastermind.factories.ConsoleGameViewFactory
- getGameView() - Method in interface it.unicam.cs.pa.mastermind.factories.GameViewFactory
-
Ottenimento di un'istanza di una vista
GameView
. - getGameViewFactory() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getHasBreakerWon() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchState
-
Metodo che stabilisce la vittoria del giocatore Breaker o meno.
- getHasMakerWon() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchState
-
Metodo che stabilisce la vittoria del giocatore Maker o meno.
- getHighTresholdLength() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getIndexSequence(int, boolean) - Method in class it.unicam.cs.pa.mastermind.ui.ConsoleGameView
- getIndexSequence(int, boolean) - Method in class it.unicam.cs.pa.mastermind.ui.GameView
-
Interazione con l'utente fisico per poter ottenere gli indici associati ai diversi valori di
ColorPegs
. - getKeepMatchStartSettings() - Method in class it.unicam.cs.pa.mastermind.gamecore.StartupSettings
- getLastAttempt() - Method in class it.unicam.cs.pa.mastermind.gamecore.BoardModel
- getLastClue() - Method in class it.unicam.cs.pa.mastermind.gamecore.BoardModel
- getLastClue() - Method in class it.unicam.cs.pa.mastermind.players.CodeBreaker
-
Ritorna il valore memorizzato dell'ultima sequenza indizio relativa all'ultimo tentativo generato.
- getLowTresholdAttempts() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getLowTresholdLength() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getMaker(GameView, int, int) - Method in class it.unicam.cs.pa.mastermind.factories.InteractiveMakerFactory
- getMaker(GameView, int, int) - Method in interface it.unicam.cs.pa.mastermind.factories.MakerFactory
-
Ottenimento di un'istanza di un giocatore
CodeMaker
. - getMaker(GameView, int, int) - Method in class it.unicam.cs.pa.mastermind.factories.RandomBotMakerFactory
- getMakerFactory() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getMakers() - Method in class it.unicam.cs.pa.mastermind.gamecore.GlobalSettings
- getMessage() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchState
-
Metodo che comunica l'esito finale della partita corrente.
- getName() - Method in class it.unicam.cs.pa.mastermind.factories.DonaldKnuthBreakerFactory
- getName() - Method in class it.unicam.cs.pa.mastermind.factories.InteractiveBreakerFactory
- getName() - Method in class it.unicam.cs.pa.mastermind.factories.InteractiveMakerFactory
- getName() - Method in interface it.unicam.cs.pa.mastermind.factories.PlayerFactory
- getName() - Method in class it.unicam.cs.pa.mastermind.factories.RandomBotBreakerFactory
- getName() - Method in class it.unicam.cs.pa.mastermind.factories.RandomBotMakerFactory
- getPlayerFactoriesInstances() - Method in class it.unicam.cs.pa.mastermind.factories.PlayerFactoryRegistry
- getPlayerName(PlayerFactoryRegistry, boolean) - Method in class it.unicam.cs.pa.mastermind.ui.ConsoleStartView
- getPlayerName(PlayerFactoryRegistry, boolean) - Method in interface it.unicam.cs.pa.mastermind.ui.StartView
-
Gestione dell'interazione dell'utente fisico per la scelta della particolare implementazione dei giocatori che verranno coinvolti nella nuova partita.
- getPlayersDescription() - Method in class it.unicam.cs.pa.mastermind.factories.PlayerFactoryRegistry
- getPlayersNames() - Method in class it.unicam.cs.pa.mastermind.factories.PlayerFactoryRegistry
- getSequenceLength() - Method in class it.unicam.cs.pa.mastermind.gamecore.BoardModel
- getSequenceLength() - Method in class it.unicam.cs.pa.mastermind.gamecore.MatchStartSettings
- getSequenceToGuess() - Method in class it.unicam.cs.pa.mastermind.gamecore.BoardModel
- getSequenceToGuess() - Method in class it.unicam.cs.pa.mastermind.gamecore.SingleMatch
- getStartView() - Method in class it.unicam.cs.pa.mastermind.factories.ConsoleStartViewFactory
- getStartView() - Method in interface it.unicam.cs.pa.mastermind.factories.StartViewFactory
-
Ottenimento di un'istanza di una vista
StartView
. - GlobalSettings - Class in it.unicam.cs.pa.mastermind.gamecore
-
Responsabilità: tenere traccia delle impostazioni globali del gioco, comuni a tutte le partite.
- GlobalSettings() - Constructor for class it.unicam.cs.pa.mastermind.gamecore.GlobalSettings
-
Inizializzazione con generazione dei registri
- GREEN - it.unicam.cs.pa.mastermind.gamecore.ColorPegs
All Classes All Packages