Court Kings 3D - Basketball Game

Seele01-Flash
By
Court Kings 3D is an exciting 3D basketball game featuring fast-paced 1v1 matches. Challenge the computer or play with friends in quick 3-minute games, compete in tournaments, and prove you're the king of the court!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Court Kings 3D". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Implement a **Low-Poly, Cel-Shaded (Toon)** aesthetic to match the cartoonish, vibrant style of the reference image. Characters should have exaggerated proportions (Chibi-style: large heads, smaller bodies) and feature a "thick white outline" effect if possible (using inverted hull method or edge detection post-processing) to mimic the sticker-art style. * **Environment:** A street basketball half-court setting. The ground should be asphalt with bright orange and white court markings. Background should include an urban skyline silhouette or a stylized blue skybox with comic-book style "sunburst" lines. * **Characters:** * **Player:** Wearing a red jersey (number 23). * **Opponent:** Wearing a contrasting color jersey (e.g., Blue or Green). * **Ball:** Standard orange basketball with distinct black lines, rotating correctly based on movement. * **Mobile Optimization:** Use simple geometric primitives (BoxGeometry, CylinderGeometry, SphereGeometry) for characters to minimize polygon count. Use baked lighting or a single DirectionalLight with simple blob shadows (CircleGeometry) under characters to ensure 60FPS on mobile browsers. ### 2. Audio Requirements * **BGM:** A looping, upbeat **90s Boom Bap / Hip-Hop instrumental** track with a steady drum beat to keep the pacing energetic. * **Sound Effects (SFX):** * **Movement:** Distinct "squeak" sounds when changing direction rapidly (simulating sneakers on pavement). * **Ball:** Rhythmic thudding sound synced with the dribble animation. * **Scoring:** A satisfying "Swish" (net sound) for clean shots, and a metallic "Clang" for rim hits. * **UI/Game Flow:** Whistle sound for match start/end; Electronic buzzer for time-out. ### 3. Gameplay Loop * **Mode:** 1 vs 1 Street Basketball (Half-court). * **Match Duration:** 3-minute countdown timer. * **Offense Mechanics:** * **Dribbling:** Automatic when moving. * **Shooting:** Press and hold the "Shoot" button to charge a jump shot. A visual bar appears; releasing at the top of the bar increases accuracy. * **Defense Mechanics:** * **Stealing:** When near the ball carrier, pressing the "Action" button attempts a swipe to steal the ball. * **Blocking:** Pressing "Jump/Block" near a shooter attempts to swat the ball. * **AI Behavior:** The computer opponent should actively chase the ball, attempt steals when the player is idle, and take shots when left unguarded. * **Victory Condition:** The player with the highest score when the timer hits 0:00 wins. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape Mode** is mandatory for a wide view of the court. * **Virtual Joystick (Left Side):** Implement a dynamic floating joystick on the left half of the screen for character movement (360-degree control). * **Action Buttons (Right Side):** * **Large "Shoot / Block" Button:** Context-sensitive. (Shoot when holding ball, Block when defending). * **Smaller "Dash / Steal" Button:** Context-sensitive. (Sprint burst when holding ball, Steal attempt when defending). * **Camera:** A dynamic Third-Person camera that follows the ball but keeps the hoop in view. It should glide smoothly (Lerp) rather than locking rigidly to the player. * **Feedback:** * **Haptic:** Trigger device vibration (using `navigator.vibrate`) on successful goals, steals, or game-end. * **Visual:** UI buttons should scale down slightly when pressed to indicate registration. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Court Kings 3D

Court Kings 3D is a thrilling 3D basketball game that brings the excitement of street basketball to your browser. This fast-paced sports game features intense 1-on-1 basketball matches that last just 3 minutes, making it perfect for quick gaming sessions. Whether you're looking to challenge the computer AI or compete against friends, Court Kings 3D delivers an authentic basketball experience with smooth 3D graphics and responsive controls.

Core Features

Quick 3-Minute Matches

Enjoy rapid-fire basketball action with matches that last exactly 3 minutes. This format keeps the game exciting and allows you to play multiple rounds without long commitments.

Multiple Game Modes

  • Single Player : Challenge computer opponents with varying difficulty levels
  • 2-Player Local Multiplayer : Play against friends on the same device
  • Tournament Mode : Compete in the mayor's basketball tournament to become the town champion

Authentic 3D Basketball Experience

The game features detailed 3D graphics with realistic basketball physics, smooth player animations, and an immersive court environment that makes you feel like you're really on the court.

Cross-Platform Compatibility

Play on any device - desktop computers, laptops, tablets, or smartphones. The game runs smoothly in web browsers without requiring downloads or installations.

Game Modes

Tournament Mode

The ultimate challenge awaits in Tournament Mode, where the mayor organizes a basketball tournament featuring the best players in the area. Progress through multiple rounds, defeat increasingly skilled opponents, and fight your way to the finale to become the basketball champion of the town.

Local Multiplayer

Grab a friend and settle the score in local multiplayer mode. Using the same keyboard, you can compete head-to-head to see who truly deserves the title of Court King.

Operation Guide

Player 1 Controls

  • WASD Keys : Move your player around the court
  • Spacebar : Shoot the ball when on offense, intercept when on defense

Player 2 Controls (Multiplayer)

  • Arrow Keys : Move your player around the court
  • Enter Key : Shoot the ball when on offense, intercept when on defense

Gameplay Tips

  • Master the timing of your shots for higher accuracy
  • Use defensive positioning to intercept passes and steal the ball
  • Quick movement is key to creating scoring opportunities
  • Watch the shot clock and make your moves count

Why Play Court Kings 3D

Perfect for Basketball Fans

If you love basketball, this game captures all the excitement of 1v1 street ball in a convenient browser format. The realistic physics and smooth controls make every match feel authentic and competitive.

Great for Quick Gaming Sessions

With 3-minute matches, Court Kings 3D is perfect for quick breaks, lunch hours, or whenever you need a fast dose of competitive gaming action.

Free and Accessible

No downloads, no fees, no hassles. Simply open your browser and start playing immediately on any device.

Social Gaming

The local multiplayer feature makes it an excellent choice for gaming with friends and family, bringing people together for friendly competition.

Skill Development

Improve your timing, strategy, and quick-thinking skills as you progress through tournament mode and face increasingly challenging opponents.

Frequently Asked Questions (FAQ)