Added getBoardState, changed AI