Need to add newline and flush so that the message is sent.
return null if there is nothing to read.
Add preliminary objects for serialization to json
add example class for implementing players
add two test classes for players
add a mock graphics client so it is easier to test the players