This was a part of class project,The goal was to follow coding practices such as creating documentation, performing testing, sprints, making proper use of git etc.
Description: This is a slight variation of BattleShip,Players can enjoy playing on their own against a computer, or have fun playing locally against a friend.
The UI was designed and built using Qt creator community version.
first clone this repository: open up command prompt and type in the following command in the desired directory
git clone https://github.com/drewanderson17/BattleShips.git
To run the application go to BattleShips/Game and deploy BattleShip.exe
The current Folder Containing all the code is slightly messy to get a better understanding of how all the objecs and class interact checkout the class diagram below
For more info look at the test files in /FrontEndMain
Frontend Testing In order to test the frontend, we played our game! We would each launch our app on our separate laptops and visit the different pages while specifically looking for bugs. We found this was the most effective way to test the frontend as bugs in the backend and frontend can become extremely apparent while looking at the app from a user's perspective rather than only looking at the source code.
The main testing done was to the grid.cpp and Ship.cpp class. Integration testing was done when a developer pushed their code into main