Dots And Boxes Object Oriented Programming

For my minor (pre-master) in Techinal Computer Science we were tasked to design and implement a game of Dots and Boxes played via a Command-Line. User-controlled or AI-controlled clients connect to a server following a protocol defined by the course to play a game of Dots and Boxes between two (AI or physical) players. The clients and server are completely custom designed and implemented, and the predefined protocol allowed for compatibility between servers and clients of different groups.

Screenshot of the game

This project includes an elaborate design of classes and their methods and relations. Everything was implemented with full JavaDoc documentation. and a number of unit tests. Several diagrams were created for the project, some are included below. All diagrams and an extensive demonstration and discussion of the project can be found in the report. Finally, the source code can be found on GitHub.

Class diagram of the client

State diagram of the client

Sequence diagram of the client making a move

Powered by Soopr   •  Theme  Moonwalk