Package Phase2

Contains the classes used exclusively in the second phase of the project (playing a game of Pentris).

Classes included in this package deal with problems such as: initialisation of the Tetris game, giving the user opportunity to choose a solving algorithm (bot), the bot declarations, etc.

  • Class Summary 
    Class Description
    botTick
    Class running the TimerTask for bot (deprecated)
    GameModeSelector
    Class allowing the user to select game mode for Pentris
    GameTimer
    Class running the TimerTask if the game mode selected uses a bot
    GameWrapper
    Class encapsulating (wrapping) all of the User Interface.
    Gbot
    Class containing implementation of the Genetic Algorithm-based bot.
    Qbot
    Class containing implementation of the score-based bot.
    Tetris
    Main class used for running the Tetris (Pentris) environment.
    UI
    This class takes care of all the graphics to display a certain state of the game field