賴俊賓
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Python 期中專案規格 請使用 Python 程式操作 [排七入口網](https://laijunbin.github.io/sevens) 中任一個版本的遊戲,並根據以下規則完成遊戲。 <iframe width="560" height="315" src="https://www.youtube.com/embed/6OJnDy7RpkE?si=HrtsjdZydfBvim6P" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> ## 規則 - 有梅花七的玩家先出,但不一定要先出梅花七 - 有牌可以出就一定要出,若沒有牌可以出則需蓋一張牌,蓋牌規則如下: - 挑最小的牌去蓋 - 例如你沒牌可出,有梅花A,那就蓋他 - 挑蓋了之後對其他玩家影響(總和)大於自己的蓋 - 例如你沒牌可出,但有黑桃8,沒有黑桃9~K,那麼你蓋掉黑桃8,對其他玩家影響最大 - 或者是你有愛心8和Q,你也可以蓋掉愛心8,因為另外三家總會蓋掉9、10、J、K - 承上,當然你要蓋掉Q也無所謂,總是會有人蓋一張K - 其他(在影片中說明) - 其他你想的到的方式(請在影片中說明,<span style="color: red;">禁止</span>使用亂數隨便蓋) - 直到沒有牌時,遊戲結束 ## 你需要符合 - 能夠偵測螢幕上目前與自己的牌面,判斷目前自己有沒有牌可出。 - 知道自己有牌可以出或需要蓋牌時,可以知道座標後透過程式操縱滑鼠去點擊操作 - 錄影並解說程式碼,向助教證明你有學到足夠的知識完成題目 - 嚴禁<span style="color: red;">作弊</span>,(eg. 透過各種方法修改任何遊戲條件) <!-- ## 小目標 - 寫一個函數,可以傳入螢幕畫面,回傳目前可不可以出牌(ex: 可以(True)、不可以(False)),可以用來判斷是否需要蓋牌 --> ## 提示 - 可以將附件的圖片僅擷取花色+數字來做判斷 ## 提交 > Windows可以使用[Bandicam](https://www.bandicam.com/tw/)來錄影,也可以使用支援Windows、MAC的OBS但比較複雜一些;無論如何千萬不要使用手機對螢幕錄影,拜託! * 拍攝YouTube解說你的程式碼並透過程式完成三場遊戲(需包含先出牌、出牌與蓋牌行為),請確定畫質可以看清楚(720p以上),以及有清楚錄製你的聲音 * 將主程式打包好提交到e3,並於作業說明貼上 youtube 連結 * 請勿使用 Mac 內建錄影,因為沒有聲音(如果你確定有聲音的話可以用) * 早點寫早點交,如果助教發現有問題會通知你,如果太晚交可能就算通知你也來不及改 ## 打包方式 將你的整包專案(例如主程式與附件)打包成 .zip 壓縮檔 ## 附件 > 建議自己重新截圖,以免各裝置呈現圖片有落差 <img src="https://hackmd.io/_uploads/r1e86QQxa.png" /> <div style="display: flex; flex-wrap: wrap;"> <img src="https://hackmd.io/_uploads/H1UMpmmea.png" /> <img src="https://hackmd.io/_uploads/B1PqTQmga.png" /> <img src="https://hackmd.io/_uploads/S1PqpXmgp.png" /> <img src="https://hackmd.io/_uploads/ryDcpmXg6.png" /> <img src="https://hackmd.io/_uploads/Byx0ipmmep.png" /> <img src="https://hackmd.io/_uploads/BkRjpQQxT.png" /> <img src="https://hackmd.io/_uploads/Hy0oa77xa.png" /> <img src="https://hackmd.io/_uploads/H1Rjp7Qg6.png" /> <img src="https://hackmd.io/_uploads/r10jTQXxp.png" /> <img src="https://hackmd.io/_uploads/SyeRjamml6.png" /> <img src="https://hackmd.io/_uploads/B1Top7Xx6.png" /> <img src="https://hackmd.io/_uploads/Sk6o6QXl6.png" /> <img src="https://hackmd.io/_uploads/B1asa7Xl6.png" /> <img src="https://hackmd.io/_uploads/BJCipm7ga.png" /> <img src="https://hackmd.io/_uploads/B1g6iaQ7xT.png" /> <img src="https://hackmd.io/_uploads/ByRs6m7eT.png" /> <img src="https://hackmd.io/_uploads/Skg0opQmxT.png" /> <img src="https://hackmd.io/_uploads/BypsTQmea.png" /> <img src="https://hackmd.io/_uploads/rJ-0oT7Qla.png" /> <img src="https://hackmd.io/_uploads/Skx0saXmxa.png" /> <img src="https://hackmd.io/_uploads/rJW0jp7Xgp.png" /> <img src="https://hackmd.io/_uploads/SJlai6X7l6.png" /> <img src="https://hackmd.io/_uploads/HkTiTQXe6.png" /> <img src="https://hackmd.io/_uploads/BJeps6QXg6.png" /> <img src="https://hackmd.io/_uploads/Byx6spQQg6.png" /> <img src="https://hackmd.io/_uploads/rkxpi6Xmga.png" /> <img src="https://hackmd.io/_uploads/Hyzai6mQe6.png" /> <img src="https://hackmd.io/_uploads/SJWCj6m7gp.png" /> <img src="https://hackmd.io/_uploads/r1WRsT7mg6.png" /> <img src="https://hackmd.io/_uploads/B1-Co67Qe6.png" /> <img src="https://hackmd.io/_uploads/SyfAjpQXlT.png" /> <img src="https://hackmd.io/_uploads/S1bpiTXmga.png" /> <img src="https://hackmd.io/_uploads/rJbTsTXXg6.png" /> <img src="https://hackmd.io/_uploads/r1CiaXXep.png" /> <img src="https://hackmd.io/_uploads/BybaoT7mxa.png" /> <img src="https://hackmd.io/_uploads/B1ZasTXXla.png" /> <img src="https://hackmd.io/_uploads/rkZTj6mQgp.png" /> <img src="https://hackmd.io/_uploads/HkfaiTmXxT.png" /> <img src="https://hackmd.io/_uploads/B1g0oTmmxT.png" /> <img src="https://hackmd.io/_uploads/B1MAopmQea.png" /> <img src="https://hackmd.io/_uploads/HyfCj6Q7la.png" /> <img src="https://hackmd.io/_uploads/rJxRjaXQg6.png" /> <img src="https://hackmd.io/_uploads/B1MTiTQXla.png" /> <img src="https://hackmd.io/_uploads/HkfTiTXQga.png" /> <img src="https://hackmd.io/_uploads/H1Aia7mlT.png" /> <img src="https://hackmd.io/_uploads/r1-CjaQmlp.png" /> <img src="https://hackmd.io/_uploads/S1xAsaQ7lT.png" /> <img src="https://hackmd.io/_uploads/SyQTjTmQxp.png" /> <img src="https://hackmd.io/_uploads/H1AspQ7x6.png" /> <img src="https://hackmd.io/_uploads/HyRjTQQl6.png" /> <img src="https://hackmd.io/_uploads/HyCjp7mep.png" /> <img src="https://hackmd.io/_uploads/r16j6m7l6.png" /> </div>

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully