成人影片麻豆国产影片免费观看_成人无码网www在线观看_国产激情精品一区二区三区_中文字幕无码av波多野吉衣_欧美日韩国产码高清综合人成

職位ID:151681

python 學校練習 英文

  • 合作方式:
  • 項目制 全國遠程
  • 預估日薪:
  • 500
  • 預估總價:
  • 500元
  • 預估工時:
  • 1天
  • 所在區(qū)域:
  • 全國遠程

需求描述

? Hearts ?
In this assignment, you'll be using the more advanced concepts you've learned to build another text-based game, of the popular card game Hearts. More precisely, we will use rules of the variant called Black Lady, but we will use the name "Hearts" for simplicity.

In Hearts, players avoid certain cards and try to have the lowest score by the time one player eventually reaches 100.

It is usually played with 4 players, but many versions works with 3-5 (including ours).

You can learn the game using the online versions, like this one. The complete version of this assignment will follow almost the same rules as the one linked.

Be sure you are familiar with the game before getting started.

You will code the full set of rules, one part at a time, in the tasks.

One round of hearts (assuming 4 players)

Start a new deck (52 cards).

Deal 13 cards to each player.

Each player picks 3 cards to pass off to another player.

Players play all 13 tricks:

The player who has the Two of Clubs starts the leads the first trick by playing that card.

The winner of a trick scores all points from that trick, and leads the next trick.

There are 26 points in the deck:

Each card of the Hearts suit is worth 1 point.

The Queen of Spade is worth 13 points.

Rounds repeat until someone reaches a target score limit (usually 100 points), after which the player with the lowest score wins. If there are multiple players with the lowest score, rounds continue until a winner is decided.

Players attempt to minimise the number of points they score by avoiding winning tricks.

Special case:

If one player wins all 26 points within a round, they receive 0 points, while all others receive 26 (this is known as "Shooting the Moon")

投遞職位 已有16人投遞,發(fā)布人 點此登錄 后查看。

信用行為

  • 發(fā)布項目
    2
  • 訂單總數(shù)
    0
  • 退款單數(shù)
    0

完善簡歷

工程師完善技術能力和項目經(jīng)驗,更易接到訂單

發(fā)布任務

企業(yè)點擊發(fā)布任務,工程師會在任務下報名,招聘專員也會在1小時內與您聯(lián)系,1小時內精準確定人才

微信客服

需求方請加需求方端客服溝通需求,工程師請加工程師端客服瀏覽推送職位

需求方端客服
工程師端客服
聯(lián)系需求方端客服