Sink It - Naval Combat Game

Seele01-Flash
By
Sink It is an exciting naval combat game where players use cannons to sink opponent boats through strategic shooting and wave physics. Play solo or challenge friends in this free multiplayer battleship experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Sink It". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Side-scrolling perspective with a vibrant, low-poly cartoon aesthetic (similar to "Crossy Road" meets "Sea of Thieves"). Use bright, saturated colors: deep blues for the ocean, bright cyans for the sky, and warm wood tones for the ships. * **The Water (Core Asset):** Create a dynamic ocean using a custom shader or vertex displacement. The water needs to look stylized/toon-shaded but must support dynamic wave generation when impacted by projectiles. * **Models:** * **Ships:** Two distinct pirate ships (Player 1 vs Player 2/AI) positioned on opposite sides of the screen. They must bob physically with the water movement. * **Characters:** Cute, blocky pirate avatars (e.g., an Octopus pirate vs a Human pirate) standing on the decks. * **Projectiles:** Cannonballs that leave a simple white trail renderer. * **Falling Items:** Crates with icons indicating power-ups (Ice, Fire, Health) attached to parachutes. * **Performance:** Optimize for mobile GPUs by using instanced geometry for particles (splashes) and keeping the total polygon count low. Use a simple gradient skybox to save texture memory. ### 2. Audio Requirements * **BGM:** A fast-paced, whimsical "Pirate/Caribbean" track featuring steel drums, accordion, and brass. It should loop seamlessly and increase in tempo slightly when a ship is at low health. * **Sound Effects (SFX):** * **Cannon Fire:** A satisfying, bass-heavy "Thump". * **Splash:** A distinct, wet splashing sound when a ball hits the water (vary pitch slightly for variety). * **Impact:** A crunching wood sound when a ship is hit. * **Power-up:** A magical "chime" when an item is collected. * **Ambience:** Subtle wind and seagulls in the background. ### 3. Gameplay Loop * **Core Mechanic:** The game is a projectile duel. The cannon on the player's ship automatically oscillates its angle up and down. The player must tap to fire at the precise moment to hit the opponent. * **Wave Physics (Unique Selling Point):** If a cannonball misses the ship and hits the water, it generates a **large wave**. This wave travels across the screen, physically rocking both ships. This changes the firing angle for subsequent shots, adding a layer of chaotic difficulty. * **Power-ups:** Random crates fall from the sky into the water between the ships. Players must intentionally shoot the water to create waves that push the crates toward their own ship to collect them (e.g., "Freeze Sea" stops the waves, "Triple Shot" fires three balls). * **Win Condition:** Deplete the opponent's Health Bar (HP) to zero to sink their ship. * **Modes:** Support both Single Player (vs AI) and Local 2-Player (on the same device). ### 4. Mobile Controls & Interaction * **Control Scheme (One-Tap):** * **Single Player:** The entire screen is a "Fire" button. Tap to shoot. * **2-Player Local:** Split the screen vertically invisibly. The left half controls Player 1, the right half controls Player 2. * **Orientation:** Force **Landscape Mode** to accommodate the distance between the two ships. * **Feedback:** * **Camera Shake:** Apply a subtle camera shake when a ship is hit or a large wave is generated. * **Haptics:** Trigger a short vibration on mobile devices upon firing and a heavier vibration upon taking damage. * **UI Layout:** Place HP bars at the top corners (safe from notch/island). Keep buttons large (minimum 60x60px) for ease of touch. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Sink It is a thrilling naval combat game that combines skill-based shooting with dynamic water physics. In this engaging battleship experience, players command their own vessel and use strategic cannon fire to outmaneuver and sink opponent boats. The game features intuitive controls perfect for both desktop and mobile play, making naval warfare accessible to players everywhere.

The unique physics system creates realistic water interactions - every cannonball that hits the ocean generates powerful waves that affect both your ship and your opponent's vessel. This adds an extra layer of strategy as you must account for movement and positioning while aiming your shots.

Core Features

Dynamic Water Physics System

Every shot matters in Sink It. When your cannonball hits the water, it creates massive waves that push both ships around the battlefield. This physics-based movement system means no two battles play out the same way, keeping the action fresh and unpredictable.

Multiplayer Naval Combat

Challenge friends in intense 2-player battles or test your skills against AI opponents in single-player mode. The game supports both local multiplayer on the same device and solo gameplay, perfect for any gaming situation.

Environmental Power-ups

During battles, mysterious objects fall from the sky into the water. These special items can be collected by using wave mechanics to push them toward your ship. Some power-ups can freeze the entire ocean, giving you tactical advantages in crucial moments.

Cross-Platform Compatibility

Enjoy seamless gameplay across all devices. Whether you're playing on desktop, tablet, or mobile phone, Sink It delivers the same high-quality naval combat experience with optimized controls for each platform.

Gameplay Mechanics

Strategic Cannon Warfare

Success in Sink It requires more than just accurate aim. Players must consider wind direction, wave patterns, and ship movement when firing cannons. The angle and timing of each shot can mean the difference between victory and defeat.

Wave Manipulation Tactics

Master the art of using waves to your advantage. Create strategic splashes to move power-ups within reach, or use wave momentum to reposition your ship for better firing angles. The dynamic water system rewards creative thinking and tactical planning.

Operation Guide

Single Player Controls

  • Desktop : Press and hold the spacebar to aim, release to fire your cannon
  • Mobile/Tablet : Tap and hold on screen to aim, release to shoot

Two Player Controls

  • Player 1 : Use spacebar (desktop) or tap screen (mobile)
  • Player 2 : Use enter key (desktop) or tap designated area (mobile)

Pro Tips for Success

  1. Watch the Waves : Pay attention to water movement patterns to predict ship positions
  2. Collect Power-ups : Use wave physics to gather falling objects for special abilities
  3. Timing is Key : Wait for the right moment when your opponent is in optimal range
  4. Environmental Awareness : Use the ocean freeze power-up strategically to gain advantages

Why Play Sink It

Unique Physics-Based Combat

Unlike traditional battleship games, Sink It incorporates realistic water physics that affect gameplay. Every action has consequences, creating a more immersive and strategic naval combat experience.

Perfect for All Skill Levels

The game's intuitive controls make it accessible for newcomers, while the depth of strategy and physics mechanics provide endless challenges for experienced players. The learning curve is smooth but rewarding.

Free Entertainment

Enjoy complete naval warfare action without any cost. No downloads, installations, or premium purchases required - just pure battleship fun directly in your browser.

Social Gaming Experience

Whether competing against friends in multiplayer mode or honing skills in single-player campaigns, Sink It provides engaging social interaction and friendly competition that keeps players coming back for more naval battles.

Frequently Asked Questions (FAQ)