@@ -0,0 +1,1624 @@
+//Opens a client to send default instance of boardModel message to Reader class%0A%0Apackage com.hearthattack;%0A%0Aimport com.protos.*;%0Aimport com.hearthattack.*;%0Aimport java.io.*;%0Aimport java.net.Socket;%0A%0Apublic class Tester %7B%0A  public static void main(String%5B%5D args)%7B%0A    int portNumber = Integer.parseInt(args%5B0%5D);%0A    try %7B%0A      Socket socket = new Socket(%22localhost%22, portNumber);%0A      DataOutputStream out = new DataOutputStream(socket.getOutputStream());%0A      CardProto.Card card = CardProto.Card.newBuilder().setName(%22%22).build();%0A      MinionProto.Minion minion = MinionProto.Minion.newBuilder().setCard(card).setTurnPlayed(0).setPosition(0).build();%0A      DeckProto.Deck deck = DeckProto.Deck.newBuilder().addCards(card).build();%0A      WeaponProto.Weapon weapon = WeaponProto.Weapon.newBuilder().setName(%22%22).setAttack(0).setDurability(0).build();%0A      HeroProto.Hero hero = HeroProto.Hero.newBuilder().setWeapon(weapon).setArmor(0).setMinion(minion).build();%0A      PlayerModelProto.PlayerModel player = PlayerModelProto.PlayerModel.newBuilder().setName(%22%22).setPlayerId(0).setHero(hero).setDeck(deck)%0A                                                            .setMaxMana(0).addMinions(minion).addHand(card).build();%0A      BoardModelProto.BoardModel board = BoardModelProto.BoardModel.newBuilder().setPlayer(player).setOpponent(player).build();%0A      byte%5B%5D message = board.toByteArray();%0A%09  out.writeInt(message.length);%0A      out.write(message);%0A      out.flush();%0A      System.in.read();%0A      System.out.println(%22Finished sending message%22);%0A    %7D%0A    catch (IOException e) %7B%0A      e.printStackTrace();%0A    %7D%0A  %7D%0A%7D%0A

Create Tester.java