@@ -0,0 +1,1847 @@
+import java.awt.Point;%0A%0A/**%0A * Created by Eric on 2/23/2016.%0A */%0Apublic class GameLogic %7B%0A    private CheckersUI gui;%0A    private int%5B%5D%5B%5D boardState;%0A%0A    public GameLogic()%7B%0A        gui = new CheckersUI(this);%0A        boardState = new int%5B6%5D%5B7%5D;%0A    %7D%0A%0A    //UNIMPLEMENTED%0A    /**%0A     * Determines whether a piece can legally be placed on a given space on the board.%0A     *%0A     * @param x X coordinate of potential move%0A     * @param y Y coordinate of potential move%0A     * @return True/False whether a given move can be made%0A     */%0A    public boolean isValidMove(int x, int y)%7B%0A        return false;%0A    %7D%0A%0A    //UNIMPLEMENTED%0A    /**%0A     * Determines whether a player has won the game, given the current board state.%0A     *%0A     * @return 0 if neither player has won, 1 if player 1 has won, 2 if player 2 has won%0A     */%0A%0A    public int determineGameWinner()%7B%0A        return 0;%0A    %7D%0A%0A    //UNIMPLEMENTED%0A%0A    /**%0A     * Calculates the next move of the AI.%0A     *%0A     * @return Coordinates of the space the AI will place its next piece.%0A     */%0A%0A    public Point determineAIMove()%7B%0A        return null;%0A    %7D%0A%0A    //UNIMPLEMENTED%0A%0A    /**%0A     * Changes one element of the boardState array to indicate a player has placed a piece in that location%0A     * @param x X coordinate of placed piece%0A     * @param y Y coordinate of placed piece%0A     * @param player  Player that controls the piece%0A     */%0A%0A    public void setBoardState(int x, int y, int player)%7B%0A%0A    %7D%0A%0A    //UNIMPLEMENTED%0A%0A    /**%0A     * After a piece has been placed, lets GUI know so that the board graphics can be updated.%0A     */%0A    public void updateGUI()%7B%0A%0A    %7D%0A%0A    //UNIMPLEMENTED%0A%0A    /**%0A     * After a game has been won or the player clicks the new game button, resets everything%0A     * back to the new game state.%0A     */%0A    public void resetGame()%7B%0A%0A    %7D%0A%0A%0A%0A%7D%0A

Create GameLogic.java