The "listenToCLient" method which keeps listening for the moves made by the remote player is as given below. This method obtains the result of the move made by the player at the remote end and passes it to a method for updating the screen of the local player.