Leek Factory Tycoon

Seele01-Flash
By
Leek Factory Tycoon is an engaging idle business management game where you build and automate your own leek processing empire. Earn passive income, compete globally, and expand your restaurant chain even while offline.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Leek Factory Tycoon". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Recreate a **pseudo-2D isometric aesthetic** using Three.js 3D primitives. The world should look like a vibrant, cartoonish "toy factory." * **Camera:** Use an `OrthographicCamera` locked to a top-down, slightly angled view (isometric projection) to mimic the 2D screenshot style. * **Environment:** A grid-based tile floor (grey/concrete texture). The background should be a blurred, dark industrial interior or a solid muted color to keep focus on the production line. * **Key Models (Low-Poly/Primitive-based for performance):** * **Leeks:** Simple green cylinders or elongated capsules. * **Conveyor Belts:** Flat rectangular meshes with a striped black-and-yellow texture. *Crucial:* Use UV offset animation to simulate the belt moving, rather than moving the geometry itself. * **Machines:** Blocky, industrial machines (Cubes/Cylinders) with distinct "Input" and "Output" sides. * **Performance:** Use `InstancedMesh` for the conveyor belt segments and the leeks, as there will be hundreds on screen. Limit material switching to ensure a steady 60 FPS on mobile devices. ### 2. Audio Requirements * **BGM:** A lighthearted, rhythmic "industrial jazz" or "busy work" loop. It should be repetitive but pleasant (BPM around 110-120). * **Sound Effects (SFX):** * **Production:** A soft mechanical "whir" for the belts (looping). * **Processing:** A "chop" or "clank" sound when a leek passes through a machine. * **Income:** A satisfying "Ka-ching" or coin jingle when a product reaches the end of the line. * **UI:** A high-pitched "pop" for button clicks and a "whoosh" for opening upgrade menus. ### 3. Gameplay Loop * **Core Mechanic (The Chain):** 1. **Source:** A "Leek Spawner" generates a leek every $X$ seconds. 2. **Transport:** Leeks travel automatically along the placed conveyor belt path. 3. **Process:** Leeks pass through "Processing Machines" (e.g., Washer, Chopper, Boxer). Each process increases the leek's monetary value and visually changes the model (e.g., whole leek -> chopped leek -> boxed leek). 4. **Sale:** At the end of the belt, the item is destroyed, and money is added to the player's bank. * **Progression:** * **Upgrades:** Player spends money to increase "Belt Speed", "Spawn Rate", and "Machine Multiplier". * **Expansion:** Unlock new grid areas to build longer, more complex chains. * **Idle Aspect:** Implement a timestamp calculation. When the game loads, calculate the time difference since the last save and award "Offline Earnings." ### 4. Mobile Controls & Interaction * **Camera Control:** * **Pan:** One-finger drag to move the camera around the factory floor. * **Zoom:** Two-finger pinch to zoom in/out. * **Interaction (Raycaster):** * **Tapping:** Tapping a machine opens a "Bottom Sheet" UI overlay (taking up the bottom 30% of the screen) showing upgrade options. * **UI Layout (Portrait Mode Preferred):** * **Top Bar:** Current Money (large font), Production Rate ($/sec). * **Bottom Bar:** Build Menu, Shop, Boosters. * **Buttons:** All interactive buttons must have a hit area of at least 44x44 pixels. * **Feedback:** * **Floating Text:** When money is earned, display floating text (e.g., "+$50") that drifts upwards and fades out. * **Haptics:** Trigger a light vibration (`navigator.vibrate`) when buying an upgrade or placing a machine. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Leek Factory Tycoon is a captivating idle business simulation game that puts you in charge of building the ultimate leek processing empire. Unlike traditional clicker games, this innovative tycoon simulator focuses on automation and strategic management, allowing you to earn substantial passive income even when you're not actively playing.

The game combines the best elements of idle gaming with deep business strategy. You'll start with a simple leek factory and gradually expand into a massive industrial complex with sophisticated conveyor belt systems, automated production lines, and a thriving restaurant chain that serves delicious leek-based recipes to customers worldwide.

Core Features

Advanced Factory Automation System

The heart of Leek Factory Tycoon lies in its sophisticated automation mechanics. Build extensive conveyor belt networks that transport leeks through various processing stages, creating an efficient production pipeline that generates income around the clock. The automation system eliminates the need for constant clicking, letting you focus on strategic decisions and expansion planning.

Passive Income Generation

Your leek empire continues operating and generating profit even when you're offline. This passive income system makes the game perfect for busy players who want to progress without dedicating hours of active gameplay. Return to find your factories have been working hard, your bank account fuller, and new expansion opportunities awaiting.

Global Competition Features

Compete against players worldwide through the integrated online leaderboard system. Showcase your business acumen and restaurant strategy to prove you're the most successful leek tycoon on the planet. The competitive element adds excitement and motivation to continuously improve your empire.

Extensive Recipe Discovery

Discover and unlock numerous exciting leek recipes as you progress. Each recipe represents a new profit opportunity and adds variety to your restaurant offerings. The recipe system encourages exploration and provides long-term goals for dedicated players.

Gameplay Mechanics

Strategic Business Management

Success in Leek Factory Tycoon requires more than just building factories. You'll need to think like a true business tycoon, making strategic decisions about:

  • Production Optimization : Balance supply and demand to maximize efficiency
  • Resource Allocation : Invest wisely in upgrades and expansions
  • Market Analysis : Understand customer preferences and adapt your offerings
  • Competitive Strategy : Stay ahead of global competitors through innovation

Factory Expansion and Upgrades

Start small and grow your empire through strategic expansion. Combine multiple factories and processing units to create complex production chains. Upgrade equipment to increase output, reduce costs, and improve product quality. The expansion system offers endless possibilities for creative factory layouts.

Conveyor Belt Networks

Design and build intricate conveyor belt systems that efficiently move leeks through your production facility. The conveyor system is both functional and visually satisfying, with special boosters that make belts glow and operate at enhanced speeds.

Operation Guide

Basic Controls

The game features intuitive mouse-based controls that make it accessible to players of all experience levels:

  • Left Mouse Button : Primary interaction for all game elements
  • Click and Drag : Position conveyor belts and factory components
  • Menu Navigation : Access upgrades, recipes, and statistics through simple clicks

Getting Started

  1. Build Your First Factory : Start with basic leek processing equipment
  2. Set Up Conveyor Systems : Connect production stages with efficient belt networks
  3. Monitor Performance : Track income, efficiency, and customer satisfaction
  4. Reinvest Profits : Use earnings to expand and upgrade your facilities
  5. Discover New Recipes : Unlock advanced leek dishes to increase profitability

Advanced Strategies

  • Optimize Layout : Design factory floors for maximum efficiency
  • Balance Production : Ensure steady supply without overproduction
  • Strategic Upgrades : Prioritize improvements with the highest return on investment
  • Monitor Competition : Keep track of global leaderboard rankings

Platform Compatibility

Leek Factory Tycoon offers exceptional cross-platform compatibility:

  • Web Browser : Play instantly without downloads on any modern browser
  • Mobile Devices : Full iOS and Android support with touch-optimized controls
  • Cross-Platform Progress : Seamless gameplay experience across all devices

Why Play Leek Factory Tycoon

This idle tycoon game stands out in the crowded simulation market through its unique combination of accessibility and depth. Whether you're a casual player looking for passive entertainment or a strategy enthusiast wanting to optimize complex systems, Leek Factory Tycoon delivers satisfaction on multiple levels.

The game's emphasis on automation over clicking makes it perfect for modern gamers who appreciate strategic thinking over repetitive actions. The offline progression system ensures your time investment pays dividends even when you're away from the game.

Join millions of players worldwide who have discovered the addictive satisfaction of building leek empires and climbing the global rankings!

Frequently Asked Questions (FAQ)