Wrote all game mechanics along with the client - server protocol