Air Hockey Championship Deluxe

Seele01-Flash
By
Air Hockey Championship Deluxe brings the classic arcade experience to your browser with smooth gameplay, multiple game modes, and unlockable content. Play solo against AI or challenge friends in local multiplayer.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Air Hockey Championship Deluxe**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Clean, high-gloss "Skeuomorphic Arcade" aesthetic. The view should be a **top-down perspective (orthographic camera)** to simulate looking directly down at a real table. * **Table Design:** A rectangular white surface with rounded corners. The surface must have small, evenly spaced air holes (use a texture or shader for this dot pattern). Include distinct red dividing lines (center line, goal creases). The borders/rails should look like metallic or hard plastic with a slight bevel to indicate collision boundaries. * **Game Pieces:** * **Paddles (Mallets):** Create two main paddles: Player (Red) and Opponent (Blue). They should be cylinder-based with a tiered design (a wider base disc and a raised handle knob in the center). Use a high-specular material (Phong or Standard material) to make them look like shiny plastic. * **Puck:** A simple, flat cylinder (Red or Black) that contrasts well with the white table. * **Lighting & Shadows:** Use a soft directional light from the top-left to cast subtle drop shadows under the paddles and puck, enhancing depth perception without obstructing gameplay visibility. Add an ambient light to ensure no part of the table is too dark. * **Mobile Optimization:** Use simple geometries (Cylinders, Boxes) with low polygon counts. Bake the "air hole" details into a texture rather than modeling individual holes. Use a single shared material for the table surface to reduce draw calls. ### 2. Audio Requirements * **BGM:** A high-energy, looping "Sports Arena" electronic track. Think energetic synth-pop with a solid beat, reminiscent of arcade sports games or stadium warm-up music. * **Sound Effects (SFX):** * **Paddle Hit:** A satisfying, sharp plastic "clack" sound when the paddle hits the puck. * **Wall Bounce:** A slightly duller, wooden/plastic thud when the puck hits the rails. * **Goal Scored:** A loud, triumphant buzzer or siren followed by crowd cheering applause. * **Air Hum:** A very subtle, constant white noise loop to simulate the air table fan running (optional, low volume). ### 3. Gameplay Loop * **Core Mechanic:** Classic Air Hockey physics. The puck floats with very low friction. Players use their paddles to strike the puck into the opponent's goal slot. * **Physics:** Implement a physics engine (like Cannon.js or a custom simple circular collision system). The physics must feel fast and responsive. The puck should bounce realistically off walls and paddles. * **AI Opponent:** The top paddle (Blue) is controlled by an AI script. The AI should track the puck's X position with a slight delay/smoothing to simulate reaction time, and move forward to strike when the puck is close. * **Win Condition:** First player to reach **7 points** wins. * **Flow:** 1. **Start:** Puck spawns in the center. 2. **Play:** Players hit the puck back and forth. 3. **Goal:** When the puck enters a goal zone, play the goal animation/sound, update score UI, pause briefly, then reset the puck to the center (possession goes to the player who was scored against). 4. **End:** Show a "You Win!" or "Game Over" overlay with a restart button. ### 4. Mobile Controls & Interaction * **Input Method (Direct Touch):** Do NOT use virtual joysticks. Implement **1:1 Finger Tracking**. * The player's Red Paddle position should instantly map to the user's touch/drag position on the bottom half of the screen. * Clamp the paddle's movement so it cannot cross the center line into the opponent's territory. * Clamp the paddle so it cannot leave the table bounds. * **Screen Orientation:** **Portrait Mode** is preferred for mobile browsers to maximize the vertical length of the table, making the playing field feel larger. * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate(20)`) whenever the player's paddle strikes the puck or the puck hits a wall. This provides crucial tactile feedback. * **UI Layout:** * Place the scoreboard (e.g., "0 - 0") clearly at the center edge (left or right) or embedded into the table texture near the middle line. * Ensure any buttons (Restart, Pause) are at least 44x44px and placed in the top corners, away from the active play area to prevent accidental clicks. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Air Hockey Championship Deluxe is a premium online air hockey game that captures the excitement and fast-paced action of the classic arcade favorite. This browser-based sports game offers both single-player and local multiplayer modes, making it perfect for solo practice sessions or competitive matches with friends.

The game features intuitive controls, realistic physics, and smooth gameplay that recreates the authentic air hockey experience. With the goal of scoring 7 points before your opponent, every match becomes an intense battle of reflexes, strategy, and precision.

Core Features

Multiple Game Modes

  • Single Player Mode : Challenge yourself against intelligent AI opponents with varying difficulty levels
  • Local Multiplayer : Play head-to-head with friends on the same device for ultimate competition
  • Quick Match : Jump straight into action with instant gameplay

Unlockable Content System

The game rewards skilled players with an extensive unlock system: - Multiple Stages : Discover and unlock different air hockey table designs and environments - Custom Pucks : Collect various puck designs to personalize your gaming experience - Visual Upgrades : Enhance the game's appearance with unlockable cosmetic improvements

Strategic Gameplay Elements

  • Angle Shots : Master the art of using table sides to score from creative angles
  • Defensive Play : Learn to position your paddle effectively to block opponent attacks
  • Physics-Based Movement : Experience realistic puck physics and paddle interactions

Gameplay Mechanics

Scoring System

The classic "first to 7 points" rule creates exciting, competitive matches. Each goal requires precision timing and strategic positioning, making every point valuable and every match unpredictable.

Table Physics

The game utilizes realistic physics simulation, allowing players to: - Use wall bounces for strategic shots - Control puck speed through paddle movement - Execute defensive maneuvers with proper timing

Operation Guide

Single Player Controls

  • Mouse/Cursor : Control your paddle movement smoothly across the table
  • Click and Drag : Precise paddle positioning for accurate shots and blocks

Multiplayer Controls

  • Player 1 : WASD keys for paddle movement
  • Player 2 : Arrow keys for paddle control
  • Responsive Input : Both control schemes offer equal precision and responsiveness

Winning Strategies

  1. Master Bank Shots : Use the table edges to create unexpected scoring angles
  2. Defensive Positioning : Keep your paddle between the puck and your goal
  3. Speed Control : Vary your shot power to keep opponents guessing
  4. Pattern Recognition : Learn AI behavior patterns in single-player mode

Why Play Air Hockey Championship Deluxe

Perfect for All Skill Levels

Whether you're new to air hockey or a seasoned arcade veteran, the game offers: - Beginner-Friendly : Easy-to-learn controls and gradual difficulty progression - Competitive Depth : Advanced techniques and strategies for experienced players - Social Gaming : Local multiplayer brings people together for shared fun

Convenience and Accessibility

  • No Download Required : Play instantly in any modern web browser
  • Cross-Platform Compatible : Works on desktop computers, laptops, and tablets
  • Quick Sessions : Perfect for short breaks or extended gaming sessions
  • Free to Play : Complete game experience with no hidden costs or purchases

Nostalgic Appeal

Recreate the excitement of classic arcade air hockey tables from the comfort of your home. The game successfully captures the essence of the original arcade experience while adding modern conveniences and features.

Frequently Asked Questions (FAQ)