AeroCade is an In-Flight Entertainment app designed to keep users entertained during travels, optimized for use via a Command Line Interface (CLI) while still having the core functionalities and features.
Provided below are my contributions to the project.
TTT Class
The TTT class has a grand total of 9 methods, each of which are integral to the function of the TTT game.
Pretty much all of it was written by me, even the UI elements, save for some small enhancements here and there. readTTMove was written by Tahsin, and is accordingly
within her Parser class file.
printBoard prints the current state of the TTT board.lineCheckComputer and lineCheckPlayer are line algorithms that determine the best move for the hard computer to make within the linecheckWinner checks the current board state and outputs the winner.computerBestMove combines lineCheckComputer and lineCheckPlayer and applies them to the whole boardTTTLogic runs the game’s logic, determining board placements mainly.runGame is an override from the Game class, and runs the entire TTT game, including the inputs from the player and outputs from the computer onto the CLI.Code contributed: RepoSense link
Enhancements to existing features:
easy and hard mode for TTT.hard, the best case scenario ending in a draw.Contributions to Developer Guide:
TTT Class.TTT Class methods / features.Contributions to User Guide
TTT.TTT functions.Contributions beyond the project team:
