freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

網(wǎng)絡(luò)對弈課程設(shè)計說明書-資料下載頁

2025-01-13 17:29本頁面
  

【正文】 }for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessBlackCount。 chessToCompareIndex++){if (((xPos closeGrid) * 20 == chessBlack_XPOS[chessToCompareIndex])amp。amp。 ((yPos closeGrid) * 20 == chessBlack_YPOS[chessToCompareIndex])){ // 判斷當(dāng)前下的棋子的左下方向 4 個棋子是否都為黑棋chessLinkedCount++。if (chessLinkedCount == 5){return true。桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 36 頁 共 55 頁 }}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。}}}else if (chessColor == 1){ // 白棋時chessLinkedCount = 1。for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if (((xPos + closeGrid) * 20 == chessWhite_XPOS[chessToCompareIndex])amp。amp。 (yPos * 20 == chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的右邊 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return true。}}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 37 頁 共 55 頁 }}for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if (((xPos closeGrid) * 20 == chessWhite_XPOS[chessToCompareIndex])amp。amp。 (yPos * 20 == chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的左邊 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return true。}}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。}}chessLinkedCount = 1。chessLinkedCompare = 1。for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if ((xPos * 20 == chessWhite_XPOS[chessToCompareIndex])amp。amp。 ((yPos + closeGrid) * 20 == 桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 38 頁 共 55 頁 chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的上邊 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return true。}}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。}}for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if ((xPos * 20 == chessWhite_XPOS[chessToCompareIndex])amp。amp。 ((yPos closeGrid) * 20 == chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的下邊 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return true。}}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 39 頁 共 55 頁 else {break。}}chessLinkedCount = 1。chessLinkedCompare = 1。for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if (((xPos closeGrid) * 20 == chessWhite_XPOS[chessToCompareIndex])amp。amp。 ((yPos + closeGrid) * 20 == chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的左上方向 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return true。}}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。}}for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if (((xPos + closeGrid) * 20 == 桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 40 頁 共 55 頁 chessWhite_XPOS[chessToCompareIndex])amp。amp。 ((yPos closeGrid) * 20 == chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的右下方向 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return true。}}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。}}chessLinkedCount = 1。chessLinkedCompare = 1。for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if (((xPos + closeGrid) * 20 == chessWhite_XPOS[chessToCompareIndex])amp。amp。 ((yPos + closeGrid) * 20 == chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的右上方向 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return true。}}桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 41 頁 共 55 頁 }if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。}}for (closeGrid = 1。 closeGrid = 4。 closeGrid++){for (chessToCompareIndex = 0。 chessToCompareIndex = chessWhiteCount。 chessToCompareIndex++){if (((xPos closeGrid) * 20 == chessWhite_XPOS[chessToCompareIndex])amp。amp。 ((yPos closeGrid) * 20 == chessWhite_YPOS[chessToCompareIndex])){// 判斷當(dāng)前下的棋子的左下方向 4 個棋子是否都為白棋chessLinkedCount++。if (chessLinkedCount == 5){return (true)。}}}if (chessLinkedCount == (chessLinkedCompare + 1)) {chessLinkedCompare++。}else {break。}}}return false。}桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 42 頁 共 55 頁 // 畫棋盤public void paint(Graphics g){for (int i = 40。 i = 380。 i = i + 20){(40, i, 400, i)。}(40, 400, 400, 400)。for (int j = 40。 j = 380。 j = j + 20){(j, 40, j, 400)。}(400, 40, 400, 400)。(97, 97, 6, 6)。(337, 97, 6, 6)。(97, 337, 6, 6)。(337, 337, 6, 6)。(217, 217, 6, 6)。}// 畫棋子public void paintFirPoint(int xPos, int yPos, int chessColor){FIRPointBlack firPBlack = new FIRPointBlack(this)。FIRPointWhite firPWhite = new FIRPointWhite(this)。if (chessColor == 1 amp。amp。 isMouseEnabled){ // 黑棋// 設(shè)置棋子的位置setLocation(xPos, yPos, chessColor)。// 取得當(dāng)前局面狀態(tài)isWinned = checkVicStatus(xPos, yPos, chessColor)。if (isWinned == false){ // 非勝利狀態(tài)(/ + chessPeerName + /chess + xPos + + yPos + + chessColor)。(firPBlack)。 // 將棋子添加到棋盤中桂林電子科技大學(xué)課程設(shè)計說明書用紙 第 43 頁 共 55 頁 (xPos * 20 7,yPos * 20 7, 16,
點(diǎn)擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1