Rome Puzzle - Ancient Empire Match-3 Game

Seele01-Flash
By
Rome Puzzle is a captivating match-3 puzzle game that combines classic gem-matching gameplay with ancient Roman empire building. Match gold and gems to construct your mighty empire while solving increasingly challenging puzzles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Rome Puzzle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A "2.5D" Ancient Roman aesthetic. The game board should look like a grid carved into a heavy marble or limestone slab. * **Gem Models:** Instead of 2D sprites, use low-poly 3D Primitives to represent the gems to ensure high performance on mobile: * **Red:** Cube (Ruby). * **Green:** Octahedron (Emerald). * **Yellow:** Tetrahedron (Gold/Topaz). * **Blue:** Icosahedron (Sapphire). * **White:** Sphere (Pearl/Marble). * **Material:** Use `MeshPhongMaterial` with high shininess to simulate polished gemstones. * **Background:** A textured plane resembling an old parchment map of Rome or a mosaic floor. * **Particles:** Simple particle explosions (shattering effect) when gems are matched and cleared. * **Performance:** Use `THREE.InstancedMesh` if possible for the gems to reduce draw calls, or strictly limit polygon count per gem (max 64 faces). ### 2. Audio Requirements * **BGM:** A loop of acoustic Roman-inspired music (Harp, Lyre, or Flute). It should be relaxing and atmospheric, not aggressive. * **Sound Effects (SFX):** * **Select:** A subtle "click" or stone-sliding sound. * **Swap:** A "whoosh" of heavy stone moving. * **Match/Clear:** A satisfying "glass breaking" or "chime" sound. * **Invalid Move:** A dull "thud" indicating the stone cannot move there. * **Level Complete:** A short fanfare trumpet. ### 3. Gameplay Loop * **Grid System:** Create an 8x8 grid of gems. * **Core Mechanic:** Classic Match-3. 1. **Select:** Player taps a gem (it highlights/glows). 2. **Swap:** Player taps an adjacent gem (up, down, left, right). 3. **Evaluate:** If the swap creates a line of 3 or more identical gems, they clear. If not, they swap back. 4. **Gravity:** Gems above fall down to fill empty spaces. 5. **Refill:** New random gems spawn at the top. * **Resource Collection (The "Rome" Twist):** * Yellow gems represent "Gold". * Red/Blue gems represent "Materials". * Clearing gems adds to a "City Builder" progress bar. * **Win Condition:** Fill the progress bar to "Build the Empire" within a specific move limit or score threshold. ### 4. Mobile Controls & Interaction * **Input Method:** Raycasting with `'touchstart'` and ` 'touchend'` events is mandatory for mobile responsiveness. Do not rely solely on `'click'`. * **Selection Feedback:** When a gem is touched, scale it up slightly (1.2x) or add an emission glow to indicate selection visually under the finger. * **Camera:** Use a `PerspectiveCamera` fixed at a top-down angle (approx 60 degrees) to give depth to the 3D gems while maintaining a clear view of the grid. * **UI Layout:** * **Portrait Mode Optimization:** The grid should be centered. * **Score/Progress:** Place the "Empire Progress Bar" and Score at the top of the screen (HTML overlay). * **Touch Area:** Ensure the hit-box for each grid cell is large enough for a thumb press (approx 44px minimum equivalent). * **Haptics:** Trigger `navigator.vibrate(20)` on a valid selection and `navigator.vibrate([50, 50, 50])` on a successful match if the device supports it. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Rome Puzzle

Rome Puzzle is an engaging free-to-play match-3 puzzle game that transports you to the golden age of ancient Rome. With a stellar rating of 4.0/5 from thousands of players, this browser-based game offers the perfect blend of strategic puzzle-solving and empire-building excitement. Your mission is to match precious gems and gold to fund the construction of your Roman empire, creating one of history's greatest civilizations.

Core Features

Classic Match-3 Mechanics with a Roman Twist

Rome Puzzle builds upon the beloved Bejeweled-style gameplay that puzzle fans adore. The game features:

  • Intuitive Gem Matching : Simple click-and-swap mechanics make the game accessible to players of all skill levels
  • Strategic Depth : While easy to learn, the puzzles become increasingly challenging as you progress through your empire-building journey
  • High Score System : Compete with players worldwide and aim for the top of the leaderboards
  • Empire Building Elements : Every successful match contributes to constructing magnificent Roman structures

Free Browser-Based Gaming

Enjoy Rome Puzzle without any barriers:

  • Completely Free : No hidden costs or premium subscriptions required
  • No Download Needed : Play instantly in your web browser on any device
  • Cross-Platform Compatible : Works seamlessly on desktop computers, tablets, and smartphones
  • All Ages Content : Family-friendly gameplay suitable for puzzle enthusiasts of every age

Challenging Puzzle Progression

The game offers a carefully crafted difficulty curve that keeps players engaged:

  • Progressive Difficulty : Start with simple matches and advance to complex puzzle scenarios
  • Varied Objectives : Different levels require unique strategies and gem-matching approaches
  • Rewarding Gameplay : Each successful level brings you closer to completing your Roman empire

Gameplay Mechanics

How to Play Rome Puzzle

Mastering Rome Puzzle is straightforward but rewarding:

  1. Basic Matching : Click on any gem, then click an adjacent gem to swap their positions
  2. Create Combinations : Line up three or more identical gems horizontally or vertically to collect them
  3. Collect Gold : Focus on matching gold pieces to fund your empire's construction projects
  4. Chain Reactions : Look for opportunities to create cascading matches for bonus points
  5. Strategic Planning : Think ahead to maximize your matches and achieve level objectives

Winning Strategy Tips

  • Always scan the board for potential three-match combinations before making a move
  • Prioritize matches that create opportunities for chain reactions
  • Focus on collecting gold gems as they're essential for empire progression
  • Plan your moves to avoid getting stuck with no available matches

Operation Guide

Simple Controls

Rome Puzzle uses an intuitive point-and-click control system:

  • Mouse Click : Select a gem by clicking on it
  • Second Click : Click an adjoining gem to swap positions with your selected gem
  • Valid Moves : Only adjacent gems (horizontally or vertically) can be swapped
  • Automatic Collection : Matched gems disappear automatically, and new gems fall from the top

Platform Compatibility

The game runs smoothly across multiple platforms:

  • Desktop Browsers : Chrome, Firefox, Safari, Edge, and other modern browsers
  • Mobile Devices : iOS and Android smartphones and tablets
  • No Installation Required : Simply visit the game page and start playing immediately

Why Play Rome Puzzle?

Perfect for Puzzle Lovers

If you enjoy classic match-3 games like Bejeweled, Rome Puzzle offers a fresh take with its Roman empire theme. The combination of familiar mechanics with historical elements creates a uniquely engaging experience that keeps players coming back for more.

Ideal for All Skill Levels

Tagged as an "Easy" game, Rome Puzzle welcomes both puzzle beginners and experienced players. The gentle learning curve ensures that newcomers can quickly understand the basics, while the increasing difficulty provides satisfying challenges for seasoned puzzle enthusiasts.

Compete for High Scores

With integrated high-score tracking, Rome Puzzle adds a competitive element that extends replay value. Challenge yourself to beat your personal best or compete with players worldwide for leaderboard supremacy.

Relaxing Yet Engaging

Rome Puzzle strikes the perfect balance between relaxation and mental stimulation. The soothing match-3 gameplay provides stress relief while the puzzle-solving elements keep your mind sharp and engaged.

Historical Theme Appeal

The ancient Roman setting adds educational value and visual appeal, making it perfect for history enthusiasts and anyone interested in classical civilizations.

Frequently Asked Questions (FAQ)