Open mayageva11 opened 1 year ago
the changes made: 1.It was decided that the shared class between the host and the client would be called "MyPlayer." This class would handle the communication and functionality common to both. 2.A communication interface was introduced, which included methods for initiating and closing the communication. These methods were implemented in the "ClientCommunication" and "MyHostServer" classes. They were responsible for establishing a proper communication connection with the server and closing it appropriately. 3.The "ClientCommunication" and "MyHostServer" classes were modified to align with the updated communication protocol, which made them more accessible and efficient. 4.The "RequestHandler" interface was introduced, which sent requests from the "HostSideHandler" and "ClientSideHandler" classes according to the communication protocol. These classes performed the required actions based on the requests received.
changes made to the code after the meeting and changes of the UML, By implementing these changes, the project aimed to consolidate the work, address duplicate code, improve communication protocols, introduce game logic, and establish necessary components for error handling, logging, and user interaction. all worked together.