Working version - able to send and receive messages between 2 players