Help - Hearts 2.0

1. Basic rules of the game

Hearts is a penalty card game. This variant is played with 4 players using a full 52-card deck. The goal of the game is to reach the end of the game with the lowest score. At the beginning of each round, each player receives 13 cards. They must choose 3 to pass, then click the arrow indicating the direction of the pass. In exchange, each player receives 3 cards.

The direction of the pass alternates each round: player to your left, to your right, opposite, then players keep their cards. This system repeats until the end of the game.

The player holding the 2 of clubs starts automatically. The first suit played is clubs. Each player must play a club unless they have none; in that case, they can play any card (see rule #1). The player who plays the highest card of the corresponding suit wins the trick.

The highest card is the Ace, followed by the King, Queen, Jack, 10, 9, 8, 7, 6, 5, 4, 3, and the 2 is the lowest.
The winner of the trick chooses a card to play, but not a heart until the hearts are broken (see rule #2).
Each player must play the suit indicated. If a player has no more cards of that suit, they may play any card. We repeat until no more cards are left.

At that point, penalty points are tallied. The player who won the trick containing the Queen of Spades has their score increased by 13 points. Each heart won in a trick increases the player's score by 1 point.

If a player "shoot the moon" (see rule #3), the score of all other players is increased by 26 points.
The rounds continue until one player reaches the 100-point limit.

The winner(s) are those with the lowest score.

Rule 1: At the beginning of a round , you cannot play the Queen of Spades or any hearts, UNLESS those are your only remaining cards. In that case, you must play the Queen of Spades.

Rule 2: Hearts are broken when a player plays a heart. Rule 3: "Shoot the moon".

2. Game settings

The following options can be enabled or disabled in the [Settings] tab:

2.1 Game variants

At the end of a round, the following bonuses apply (if enabled in [Settings]):

Perfect 100

If a player reaches the score of 100, their score is reduced to 50.

Omnibus(*)

The player who wins the Jack of Diamonds has their score reduced by 10 points. The Jack of Diamonds becomes a condition to "shoot the Moon".

No Tricks(*)

If a player does not receive any penalty points during a round, they will receive a bonus of 5 points to be deducted from their score.

New Moon(*)

If you "shoot the moon" and your score exceed 25 points, you will have the opportunity to reduce it by 26 points.


Note: If a bonus (*), or a combination of bonuses, results in a score less than zero, the score is set to zero.
** The "Omnibus" and "No Tricks" bonuses do not apply if a player "shoot the Moon".

Queen of Spades Break Hearts

A player break the "Hearts" by playing the Queen of Spades.

No draws

If multiple players have the lowest score at the end of the game, the game continues until only one winner remains.

2.2 Miscellaneous

Confirm [Exit]

You can enable game exit confirmation to prevent accidental clicks, or disable it.

Confirm [New game]

You can enable new game confirmation to prevent accidental clicks, or disable it.

Detect Tram: (*)

If enabled the system will detect when a player will wins all the next tricks in the current round, and all the unplayed cards goes to that player. The round also end. (**)

The system will also detect tram when all penality cards are taken. (Jack of diamond must be played [Omnibus game])

Cheat mode

If cheat mode is enabled, a new button will appear in the game board tab. This button will allow you to show or hide your opponents' cards. A new "!" tab containing the list of played cards will also be added to give you an overview of the cards already discarded.

Deck Style

You can choose from 8 different card game styles included in the software.

Language

The game supports these 3 languages:

Animations

You can enable or disable each of the following animations. You can also check the "Disable all" box.

Background

You can choose any image as your background from the software's background directory. Common image formats are supported: JPEG, GIF, PNG, BMP, and SVG. It is possible to choose an image from outside the software's folder, but this feature may not work with the packaged version of Hearts because these formats, such as Snap, AppImage, and Flatpak, are secured in an isolated ("sandbox") environment—a simulated environment that does not directly access your computer's data.

2.3 Scoreboard

You can move the scoreboard anywhere you like within the game area. Simply right-click on it, hold down the click, and drag it.
Note: the new position is not permanent. Regardless of how you resize the window, the scoreboard will reappear in the bottom left corner.

On the scoreboard, a person icon next to a name indicates a human player, and a computer icon indicates a bot.

3. Game shortcuts

4. Playing online

This feature should be included in the upcoming version 2.1 of Hearts.

5. Credits

Software author: Bob castillo7@hotmail.com

Version 2.0 Qt6 Dev / Unstable
Source Code: https://github.com/Rescator7/Hearts2

5.1 Playing card decks

Style: Nicu (white)
License: Public Domain

Style: English
License: CC0 1.0 Universal Deed

Other: "English" Back card
License: GNU Lesser General Public License

Style: Russian
License: CC0 1.0 Universal Deed

Style: mittelalter
License: GNU Lesser General Public License 3.0

Style: neo classical
License: GNU Lesser General Public License 3.0

Style: tigullio international
License: GNU Lesser General Public License 3.0

Style: kaiser-jubilaum
License: Public Domain

Style: "Standard" Ramino
License: Public Domain

5.2 Icons

Icons set: Phosphor icons
License: Mit

arrow-counter-clockwisea calculator-slash calculator chat-line chat-duotone chat-slash=duotone chat-text desktop escalator-down-duotone eye-slsh eye file-plus gear plus-duotone plus-circle-duotone question sign-out-duotone sign-out speaker-high-duotone speaker-slash-duotone exclamation-mark table-duotone


Person icon by: Cheeseness
Computer icon by: kuba
License: Creative Commons Zero 1.0 License

persongeneric computer-icon
Animated Arrow by: u_d9e9zl5kpt
License: Pixabay

5.3 Backgrounds images

Universe: Photo by ESO/G. Beccari
License: Creative Commons Attribution 4.0 International License

Everest: Photo by Hiroki Ogawa
License: Creative Commons Attribution 3.0 Unported

Mt.Fuji: Photo by Jack Soma
License: Creative Commons Attribution 3.0 Unported

Desert: Photo by Peter Chisholm
License: CC0 1.0 Universal Public Domain Dedication

Ocean: Photo by grumpylumixuser
License: Creative Commons Attribution 3.0 Unported

Green: Image by Attila Tóth
License: Image created for this software.

Wood Texture: Image by Firkin
License: Creative Commons Zero 1.0 License

Wooden Floor 2: Image by Firkin
License: Creative Commons Zero 1.0 License

Overlapping planks 5: Image by Firkin
License: Creative Commons Zero 1.0 License

Wooden planks: Image by Firkin
License: Creative Commons Zero 1.0 License

Leaves & Marble: Image created using gimp 2.10.18
License: Creative Commons Zero 1.0 License

5.4 Sounds

Sound: 34201__themfish__glass-house1.wav by themfish
Used as: sound_breaking_hearts
License: Attribution 4.0 International Deed

Sound: 240777__f4ngy__dealing-card.wav by f4ngy
Used as: sound_dealing_card
License: Attribution 4.0 International Deed

Sound: 253886__themusicalnomad__negative-beeps.wav by themusicalnomad
Used as: sound_error
License: CC0 1.0 Universal Deed

Sound: 33283__fins__game-over.wav by Leszek_Szary
Used as: sound_game_over
License: CC0 1.0 Universal Deed

Sound: 171671__fins__success-1.wav by Leszek_Szary
Used as: sound_shoot_moon
License: CC0 1.0 Universal Deed

Sound: Soundwhich - Correct (LittleRainySeasons) [public].wav by LittleRainySeasons
Used as: sound_your_turn
License: CC0 1.0 Universal Deed

Sound: 344013__reitanna__high-pitched-ah2.wav by Reitanna
Used as: sound_queen_spade
License: CC0 1.0 Universal Deed

Sound: 6127__bmaczero__contact1.wav by BMacZero
Used as: sound_contact
License: CC0 1.0 Universal Deed

Sound: 434472__dersuperanton__taking-card.wav by dersuperanton
Used as: sound_passing_cards
License: Attribution 4.0 International Deed

Sound: 423767__someonecool14__card-shuffling.wav by SomeoneCool15
Used as: sound_shuffling_cards
License: CC0 1.0 Universal Deed

Sound: 400163__vitovsky1__fanfare-short.wav by vitovsky1
Used as: sound_perfect_100
License: Attribution 3.0 Unported Deed

Sound: 322897__rhodesmas__connected-01.wav by rhodesmas
Used as: sound_connected
License: Attribution 4.0 International Deed

Sound: 322895__rhodesmas__disconnected-01.wav by rhodesmas
Used as: sound_disconnected
License: Attribution 4.0 International Deed

Sound: 493696__stib__bingbong.wav by stib
Used as: sound_announcement
License: CC0 1.0 Universal Deed

Sound: 403013__inspectorj__ui-confirmation-alert-b5.wav by InspectorJ
Used as: sound_undo
License: Attribution 4.0 International Deed

Sound: 404553__inspectorj__clap-single-7_modified.wav by InspectorJ
Used as: sound_tram
Note: The version provided in the software is a remix (modified) version. It is repeating 3 times the original sound.
License: Attribution 4.0 International Deed

5.5 Special thanks

A huge thank you to Grok from X. Although Hearts Major Version 2 is based on version 1.9.6, which I developed entirely myself, this new version is a complete overhaul and was programmed with the help of Grok's AI. It allowed me to generate code, especially for animations, debug, get explanations, translate some text, and made many valuable suggestions. This version would never have seen the light of day without Grok.