Treasure of Cutlass Reef

Seele01-Flash
By
Treasure of Cutlass Reef is a free pirate strategy game where you command your own ship, battle the King's fleet, and plunder treasure to upgrade your vessel in epic naval combat.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Treasure of Cutlass Reef". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D stylized "Low-Poly" or "Voxel" art style to match the "Cute" and "Action" tags while maintaining high performance on mobile devices. Use bright, saturated colors. * **The Ocean:** A dynamic `PlaneGeometry` with a custom shader (ShaderMaterial) to simulate deep blue water waves, foam, and gentle movement. The camera should be an **Orthographic Camera** titled at a 60-degree angle (Isolmetric-like view) to mimic the original top-down 2D perspective but with 3D depth. * **Entities:** * **Player Ship:** A distinct pirate ship model with black sails and a skull emblem. * **Enemy Ships:** "King's Fleet" ships in varying sizes (Sloops, Frigates, Galleons) with white/blue sails. * **Projectiles:** Black spheres for cannonballs with a trail renderer attached. * **Effects:** * **Explosions:** Particle systems (using `THREE.Points`) that burst into yellow and orange fragments upon impact. * **Wake:** Particle trails or ribbon trails behind ships to indicate movement speed. * **Floating Text:** Instead of the black boxes in the screenshot, use billboarded 3D text or HTML overlays for damage numbers and gold gained. * **Optimization:** Use `InstancedMesh` for particles and enemy fleets to reduce draw calls. Limit texture resolution to 512x512 for mobile memory management. ### 2. Audio Requirements * **BGM:** A looping, adventurous, orchestral "Sea Shanty" track. High energy but repetitive enough for gameplay. * **Sound Effects (SFX):** * **Cannons:** Deep "thud" for firing, varying in pitch slightly for realism. * **Impact:** Wood splintering / crunching sound when a ship is hit. * **Splash:** Water splash sound when a cannonball misses. * **Collection:** A metallic "ching" sound when collecting gold/loot. * **UI:** Wooden clicking sounds for menu interactions. ### 3. Gameplay Loop * **Core Mechanic:** The player steers a pirate ship in an open arena. The ship automatically moves forward slowly, but speed increases with player input. * **Combat System:** * **Broadside Firing:** Unlike standard shooters, cannons are mounted on the *sides*. The player must maneuver their ship broadside (parallel) to enemies to hit them. * **Charging:** The fire button can be held down. The longer it is held, the more cannons fire at once (spread shot) or the further they travel. * **Economy (Tycoon Element):** Destroyed enemies drop Gold crates. The player must sail over them to collect. * **Upgrade System:** Between waves (or via a pause menu), players spend Gold to upgrade: * **Hull:** Increases Max HP. * **Cannons:** Increases damage or number of cannonballs per volley. * **Sails:** Increases rotation speed and movement speed. * **Win/Loss:** * **Win:** Defeat all ships in the current wave. * **Loss:** Player HP reaches 0 (sinking animation required). ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode** (Force landscape if possible via CSS/JS warnings). * **Control Scheme:** * **Left Zone (Steering):** A Virtual Analog Joystick (Nipple.js style or custom implementation). pushing Left/Right rotates the ship; pushing Up increases speed. * **Right Zone (Combat):** A large "Fire" button (minimum 64x64px). * `touchstart`: Begins charging the cannons (visual indicator showing charge level). * `touchend`: Releases the volley. * **UI Layout:** * **Top Left:** Player Health Bar (Green/Red) and Armor. * **Top Right:** Current Gold count and Wave number. * **Upgrade Menu:** A modal overlay with large buttons easy to tap with thumbs. * **Feedback:** * **Haptic:** Trigger `navigator.vibrate(50)` when firing and `navigator.vibrate(200)` when taking damage. * **Visual:** Screen shake effect (camera jitter) when the player is hit by a cannonball. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Treasure of Cutlass Reef is an exciting free pirate strategy game that combines naval combat, resource management, and ship upgrading mechanics. With a 3.9/5 rating from thousands of players, this browser-based adventure lets you live out your pirate fantasies without any downloads or costs.

Set sail on the high seas as a daring pirate captain, commanding your vessel through dangerous waters filled with the King's navy. Your mission: sink enemy ships, steal their gold, and build the most formidable pirate fleet on the seven seas.

Core Features

Epic Naval Combat

Engage in thrilling ship-to-ship battles using strategic cannon fire and tactical maneuvering. The game's action-packed combat system rewards both quick reflexes and smart positioning as you face off against increasingly powerful enemy vessels.

Progressive Ship Upgrades

Use your plundered gold to enhance your ship's capabilities. Upgrade your cannons for more firepower, improve your hull for better durability, and enhance your sails for increased speed and maneuverability.

Strategic Tycoon Elements

Manage your resources wisely as you balance offensive capabilities with defensive upgrades. Each successful raid provides gold that can be invested in making your ship more powerful for future encounters.

Charming Visual Style

Despite the fierce naval battles, the game features a cute, approachable art style that makes it enjoyable for players of all ages. The colorful graphics and smooth animations bring the pirate world to life.

Gameplay Mechanics

The game perfectly blends action and strategy elements. You'll need quick reflexes to dodge enemy fire while strategically positioning your ship for optimal cannon shots. Success requires mastering both combat timing and resource management.

As you progress, enemy fleets become more challenging, requiring you to continuously upgrade and adapt your tactics. The progression system ensures that each victory feels rewarding and meaningful.

Operation Guide

Mastering your pirate ship is straightforward with these intuitive controls:

  • Arrow Keys : Navigate your ship through the waters - use them to steer left, right, forward, and backward
  • Spacebar : Fire your cannons at enemy ships
  • Hold Spacebar : Unleash rapid cannon fire for maximum damage
  • Strategic Movement : Position your ship to avoid enemy fire while maintaining optimal shooting angles

The key to success lies in combining movement and firing effectively. Keep moving to avoid enemy shots while timing your cannon fire for maximum impact.

Why Play This Game

Completely Free Experience

Enjoy the full pirate adventure without any cost. No hidden fees, no premium content - everything is available from the moment you start playing.

No Download Required

Play instantly in your web browser on any device. Whether you're on a computer, tablet, or smartphone, you can start your pirate career immediately.

Perfect Game Length

Each session provides satisfying gameplay without requiring hours of commitment. Perfect for quick gaming breaks or longer strategic sessions.

Cross-Platform Compatibility

The game runs smoothly on all modern browsers and devices, ensuring you can continue your pirate adventures anywhere.

Engaging Progression System

The upgrade mechanics keep you coming back, as each improvement to your ship opens up new tactical possibilities and challenges.

Whether you're a fan of strategy games, action shooters, or pirate adventures, Treasure of Cutlass Reef offers an engaging blend of all three genres in one accessible package.

Frequently Asked Questions (FAQ)