@@ -0,0 +1,966 @@
+package com.meta1203.ChessPlayer.pieces;%0A%0Aimport java.util.List;%0A%0Aimport com.meta1203.ChessPlayer.ChessPiece;%0Aimport com.meta1203.ChessPlayer.Coordinate;%0Aimport com.meta1203.ChessPlayer.Move;%0Aimport com.meta1203.ChessPlayer.Turn;%0A%0Apublic class King implements ChessPiece %7B%0A%09private Coordinate coord = null;%0A%09private boolean white = false;%0A%09private final String name = %22Pawn%22;%0A%09%0A%09public King(byte x, byte y, boolean white) %7B%0A%09%09this.coord = new Coordinate(x, y);%0A%09%09this.white = white;%0A%09%7D%0A%09%0A%09@Override%0A%09public Coordinate getCurrentLocation() %7B%0A%09%09return this.coord;%0A%09%7D%0A%09%0A%09@Override%0A%09public List%3CMove%3E getValidMoves(Turn t) %7B%0A%09%09// TODO Deal with check and checkmate%0A%09%09return null;%0A%09%7D%0A%0A%09@Override%0A%09public int getPointValue() %7B%0A%09%09// TODO Subject to change as the King object probably won't deal with point values at all%0A%09%09return 10000;%0A%09%7D%0A%0A%09@Override%0A%09public String getPieceName() %7B%0A%09%09return this.name;%0A%09%7D%0A%0A%09@Override%0A%09public boolean isWhite() %7B%0A%09%09return this.white;%0A%09%7D%0A%0A%7D%0A

Add king