Added event communication

Clients can now send events to the server and receive an updated game
state, which includes a message of the last event.