Re: [問題] 關於麻將的演算法

看板Programming作者 (IWH68S0XZ8M89)時間18年前 (2007/12/16 14:06), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《bgcrwf (老王)》之銘言: : 假設隨便給16張牌 : 要如何判斷是否聽牌了以及聽哪些牌呢 : 想很久都沒頭緒 : 不知道能否請接觸過這方面的版眾給點想法嗎 : 謝謝 問題可以化歸為判斷是否胡牌 (why?) 至於判斷是否胡牌... 你怎麼確定胡了沒就讓電腦那麼做 XD (雖然是很想只這樣說啦) 實做判斷時大概就是一個遞迴函式 每次拿掉一個面子這樣 -- 啊? 怎麼化歸成判斷胡牌? →[一張一張試不是很簡單嗎XD] (PTT請按\) -- 'Oh, Harry, dont't you see?' Hermione breathed. 'If she could have done one thing to make absolutely sure that every single person in this school will read your interview, it was banning it!' ---'Harry Potter and the order of the phoenix', P513 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.250.80

12/16 15:28, , 1F
我研究看看 有問題再PO版 謝謝你
12/16 15:28, 1F
文章代碼(AID): #17PC1KiI (Programming)
討論串 (同標題文章)
文章代碼(AID): #17PC1KiI (Programming)