Hearts: Classic

Seele01-Flash
By
Hearts: Classic is a free online version of the beloved traditional card game where strategy meets luck. Play against three AI opponents and master the art of avoiding penalty points in this timeless card game classic.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Hearts: Classic - 3D Tabletop Edition**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Create a clean, sophisticated casino atmosphere using a "Top-Down" perspective (slightly angled for 3D depth). The aesthetic should mimic a high-quality digital board game with crisp vector-like textures. * **Table Surface**: Use a dark emerald green felt texture for the background plane (`#1a472a`). Add a subtle vignetting effect (darker edges) to focus attention on the center play area. Include a faint, repeating damask or floral pattern on the felt to add elegance without visual noise. * **Card Models**: Generate low-poly, rounded-corner rectangular meshes for cards. * **Front**: Standard 52-card deck textures (Svgs or generated canvas textures) with clear, high-contrast suits (Red Hearts/Diamonds, Black Spades/Clubs). * **Back**: A classic red or blue geometric pattern. * **Animation**: Cards should have a slight thickness to cast soft shadows on the table, enhancing the 3D feel. * **Player Avatars**: Use simple, colored pucks or circular profile placeholders to represent the 3 AI opponents (Left, Top, Right) and the User (Bottom). * **Performance**: Use instanced meshes for the cards to ensure 60fps on mobile devices. ### 2. Audio Requirements * **BGM**: A relaxing, lounge-style Jazz piano track. It should be instrumental, looped seamlessly, and low-volume to aid concentration. * **SFX**: * **Card Flip**: A crisp `thwip` sound when a card is revealed. * **Card Slide**: A soft friction sound (felt rubbing) when cards are dealt or played into the center. * **Error/Invalid Move**: A subtle, dull "thud" or vibration sound if a player tries to play a non-matching suit when they have one. * **Round Win**: A gentle chime or coin clink sound when a trick is collected. * **Breaking Hearts**: A dramatic glass crack or specific musical sting when the first Heart is played in a round. ### 3. Gameplay Loop * **Setup**: Standard 52-card deck, 4 players (1 human, 3 AI). Deal 13 cards to each. * **Phase 1: Passing (The Pass)**: At the start of a round, select 3 cards to pass to an opponent (Left, Right, Across, or Hold - depending on the cycle). * **Phase 2: Trick Taking**: * The player with the 2 of Clubs leads. * Players must follow suit if possible. If void in suit, they can play any card (except Hearts/Queen of Spades on the very first trick). * The highest card of the led suit wins the trick. The winner leads the next. * **Scoring**: * Each Heart card taken = 1 penalty point. * Queen of Spades = 13 penalty points. * **Goal**: Have the lowest score. Game ends when one player hits 100 points. * **Shooting the Moon**: If a player takes ALL Hearts and the Queen of Spades, they get 0 points, and everyone else gets +26. * **Game State Management**: The logic must handle turn-based flow, valid move checking, and automatic score calculation at the end of 13 tricks. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Portrait Mode** preferred for one-handed play, but responsive to Landscape. * **Hand Layout**: The player's hand should fan out at the bottom of the screen in an arc. * **Interaction**: Tapping a card selects it (pops it up slightly). Tapping again (or dragging up) plays it. * **Sorting**: Buttons to auto-sort hand by Suit or Rank. * **Visual Cues**: * Highlight valid cards in the player's hand when it's their turn. Gray out invalid cards (e.g., if you must follow suit). * Display a subtle arrow or glowing ring around the current active player (AI or Human). * **Haptics**: Brief, light vibration when it is the user's turn, and a heavier vibration if "Shooting the Moon" happens or the Queen of Spades is played. * **UI Elements**: * Scoreboard: A collapsible modal or small overlay in the corner. * Buttons: Large, thumb-friendly buttons (min 48px height) for "Pass Cards" or "Play". Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Hearts: Classic

Hearts: Classic brings the timeless appeal of traditional Hearts card game to your browser. This free online card game challenges you to think strategically while avoiding penalty points in a race to stay below 100 points. Perfect for both newcomers and experienced players, the game features a clean, intuitive interface that makes learning and playing Hearts enjoyable and accessible.

The game captures the essence of the classic 4-player Hearts experience, where every card play matters and tactical thinking determines victory. Whether you're looking to learn a new card game or relive childhood memories, Hearts: Classic delivers an authentic and engaging gaming experience.

Core Features

Strategic Card Gameplay

Hearts: Classic follows traditional Hearts rules where the objective is counterintuitive - you want to score the lowest points possible. Every heart card carries penalty points, and the Queen of Spades is particularly dangerous with its high penalty value. This reverse-scoring system creates unique strategic opportunities and tense decision-making moments.

Comprehensive Learning System

New to Hearts? The game includes a built-in rulebook that guides you through: - Basic gameplay mechanics and card values - Advanced strategies for avoiding penalty cards - Tips for reading opponent patterns - Techniques for successful card passing

This educational component ensures that players of all skill levels can enjoy the game immediately while continuously improving their strategic thinking.

Clean and Intuitive Interface

The game features a streamlined design that focuses on what matters most - the cards and gameplay. The interface is optimized for both desktop and mobile devices, ensuring smooth gameplay regardless of your preferred platform. Cards are clearly displayed with easy-to-read suits and values, making quick decisions effortless.

AI Opponents with Personality

Play against three computer opponents that provide consistent challenge and variety. Each AI player has different tendencies and strategies, keeping every game fresh and unpredictable. Learn to adapt your strategy based on how your opponents play their cards.

Game Rules and Mechanics

Basic Gameplay Flow

  1. Card Passing : Before each hand, players pass three cards to an opponent
  2. Playing Tricks : Players must follow suit when possible, highest card wins the trick
  3. Scoring : Hearts cards = 1 point each, Queen of Spades = 13 points
  4. Winning : Game ends when someone reaches 100 points - lowest score wins

Strategic Elements

  • Suit Management : Carefully manage which suits you keep and discard
  • Queen of Spades : Avoid taking this dangerous card or use it strategically
  • Card Counting : Track which cards have been played to make informed decisions
  • Shooting the Moon : Advanced players can attempt to take all penalty cards for a massive point swing

How to Play

Simple Controls

The game uses intuitive mouse controls : - Left-click to select and play cards - Hover over cards to see detailed information - Click and drag for card selection during passing phase

Getting Started

  1. Launch the game in your web browser
  2. Review the rules using the built-in tutorial
  3. Start your first game against AI opponents
  4. Pass three cards to begin each hand
  5. Play cards following traditional Hearts rules
  6. Aim for the lowest score to win

Why Play Hearts: Classic

Perfect for All Skill Levels

Whether you're a complete beginner or a seasoned card player, Hearts: Classic accommodates your experience level. The included tutorial system helps newcomers learn quickly, while the strategic depth keeps experienced players engaged for hours.

No Commitment Gaming

As a completely free browser game , there's no financial commitment or lengthy downloads. Simply open your browser, navigate to the game, and start playing immediately. This accessibility makes it perfect for quick gaming sessions or longer strategic battles.

Timeless Appeal

Hearts has been a favorite card game for generations because it perfectly balances luck and skill. Every hand presents new challenges, and mastering the game's nuances provides long-term satisfaction and replay value.

Cognitive Benefits

Playing Hearts regularly can help improve: - Strategic thinking and planning - Memory and card counting skills - Risk assessment and decision making - Pattern recognition and opponent analysis

Relaxing Yet Engaging

The game offers the perfect balance of mental stimulation and relaxation. While requiring strategic thought, the paced nature of card play creates a meditative, stress-relieving gaming experience ideal for unwinding after a busy day.

Frequently Asked Questions (FAQ)