Skip to content

Instantly share code, notes, and snippets.

@wildjcrt
Created February 10, 2020 06:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wildjcrt/3d2ea6d4fd61deab6961d91db8df77bf to your computer and use it in GitHub Desktop.
Save wildjcrt/3d2ea6d4fd61deab6961d91db8df77bf to your computer and use it in GitHub Desktop.

撲克

  1. 依順序儲存一手撲克牌(約 8 張)
  2. 找出其中比 [黑桃7, 梅花7] 大的「對子」
  3. 設計一個函式,傳入題目 1 的手牌,找出這一手牌內是否有「順子」

麻將

  1. 吃、碰、槓
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment