Took out unnecessary comments and extracted puts statements into messages_to_player