My Chicken Farm

Seele01-Flash
By
My Chicken Farm is an addictive idle clicker game where you build and manage your own chicken breeding empire. Collect eggs, breed colorful hens, and upgrade your farm with decorative items and efficiency boosters.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**My Chicken Farm 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A cute, low-poly isometric diorama style. The scene should look like a vibrant cartoon brought to 3D, utilizing `MeshToonMaterial` or bright Ambient/Directional lighting to mimic the saturation of the reference image. * **The Farm (Scene):** A green rounded square platform (the ground) suspended in a soft blue void. The background should be a solid sky-blue color (`0x87CEEB`). * **Structures:** A classic red barn with white trim (simple BoxGeometries) placed at the back. A rotating windmill fan attached to the side or back. White fences lining the edges of the platform. * **Characters (Chickens):** Create procedural chickens using simple geometry (Sphere for body, smaller spheres for eyes, cones for beaks). There should be support for 8 color variations (White, Brown, Black, Gold, Spotted, etc.) representing the different hen types. * **Decorations:** Small grass tufts, a "Music Center" (a simple stereo box prop), and scattered seeds on the ground. * **Performance:** Use instanced meshes for the grass and fence posts to maintain 60FPS on mobile devices. Keep polygon counts low per object. ### 2. Audio Requirements * **BGM:** A looping, cheerful acoustic track featuring banjo, whistling, and light percussion (country/farm vibe). * **Sound Effects (SFX):** * **Spawn:** A funny "pop" sound when an egg appears. * **Click/Collect:** A high-pitched "cluck" or a satisfying coin "ching" sound when clicking an egg. * **Upgrade:** A construction hammer sound or a cash register sound when buying new chickens. * **Ambient:** Occasional rooster crowing or wind blowing. ### 3. Gameplay Loop * **Core Mechanism:** The game is an Idle Clicker. Chickens wander randomly within the fenced area. * **Production:** Every few seconds (based on Chicken Count), an egg spawns near a chicken. * **Interaction:** The player must tap (raycast) on the 3D eggs to collect them. Collecting an egg destroys the egg mesh, plays a particle effect, and adds currency (Coins) to the bank. * **Economy & Upgrades:** * **Buy Chicken:** Spend coins to spawn a new chicken (increases egg spawn rate). The price increases exponentially. * **Buy Hat:** A cosmetic upgrade that adds a small cone/cylinder "hat" to all chickens and applies a global coin multiplier (x2 earnings). * **Buy Seeds:** Increases the movement speed and egg production speed of existing chickens. * **Victory/Progression:** The goal is to unlock the "Golden Hen" (the 8th chicken type) which drops high-value eggs. ### 4. Mobile Controls & Interaction * **Camera:** Fixed Isometric camera view (OrthographicCamera preferred for the diorama look), positioned to show the whole farm clearly. * **Touch Controls:** * **Raycaster:** Implement a `Raycaster` linked to `touchstart` events. The hit area for eggs should be slightly larger than the visual mesh to accommodate "fat finger" touches. * **UI Overlay:** HTML/CSS overlay for the HUD. * **UI Layout (Portrait Mode Preferred):** * **Top:** Coin Counter (Big, bold font, distinct color). * **Center:** The 3D Canvas (The Farm). * **Bottom:** A scrollable "Shop" panel containing large, thumb-friendly buttons (minimum 60px height) for "Buy Chicken", "Buy Hat", "Buy Seeds". * **Feedback:** * **Floating Text:** When an egg is clicked, a floating text ("+$10") should rise from the 3D position and fade out. * **Haptics:** Trigger `navigator.vibrate(50)` on a successful egg collection. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

My Chicken Farm is a charming 2D idle clicker game that combines farming simulation with incremental gameplay mechanics. In this delightful experience, you'll start with a simple chicken coop and gradually build it into a thriving poultry empire. The game features colorful cartoon graphics, relaxing gameplay, and endless progression that keeps you engaged for hours.

Core Features

Diverse Chicken Collection

The game features 8 different types of multicolored hens , each producing unique and valuable eggs. From common white chickens to rare specialty breeds, each type offers different earning potential and visual appeal. Discover and collect all varieties to maximize your farm's productivity.

Incremental Progression System

Start small and grow big! The core gameplay revolves around: - Egg Collection : Click to collect eggs that your chickens lay automatically - Strategic Purchasing : Use earned money to buy new chickens and farm upgrades - Efficiency Optimization : Install various objects and decorations that boost your earning potential - Idle Mechanics : Your farm continues producing even when you're away

Farm Customization Options

Personalize your chicken farm with numerous customization features: - Chicken Accessories : Dress up your hens with different colorful hats - Farm Decorations : Build monuments and install music centers - Field Management : Plant seeds to feed your chickens and improve production - Layout Design : Arrange your farm buildings and decorations as you prefer

Dynamic Events System

Experience various interesting events that occur randomly during gameplay, adding excitement and bonus rewards to your farming journey. These events keep the gameplay fresh and provide unexpected surprises.

Gameplay Mechanics

The game follows classic incremental clicker principles with farming twists:

  1. Start Simple : Begin with basic chickens that lay regular eggs
  2. Collect & Sell : Gather eggs and sell them for profit
  3. Reinvest Wisely : Purchase new chickens and farm improvements
  4. Optimize Strategy : Balance between quantity and quality of chickens
  5. Unlock Content : Discover new chicken types and decorative items

Operation Guide

My Chicken Farm features intuitive one-click controls: - Left Mouse Button : Click anywhere on the interface to interact - Egg Collection : Click on eggs to collect them instantly - Menu Navigation : Use mouse to access shop, upgrades, and customization options - Farm Management : Click and drag to place decorations and arrange your farm

The simple control scheme makes the game accessible to players of all ages and skill levels.

Why Play This Game

Perfect for Casual Gaming : Whether you have 5 minutes or 5 hours, My Chicken Farm adapts to your schedule. The idle mechanics mean progress continues even when you're not actively playing.

Stress-Free Entertainment : The cheerful graphics, gentle gameplay, and cute chicken animations create a relaxing gaming experience perfect for unwinding.

Satisfying Progression : Watch your humble chicken coop transform into a bustling farm empire through strategic planning and patient building.

Free Browser Gaming : Enjoy full gameplay without downloads, installations, or payment requirements. Compatible with both desktop and mobile browsers for gaming anywhere.

Engaging Long-term Goals : With 8 chicken types to unlock, numerous decorations to collect, and endless upgrade possibilities, the game provides lasting entertainment value.

Frequently Asked Questions (FAQ)