My Mart - Supermarket Management Game

Seele01-Flash
By
My Mart is an engaging supermarket management simulation game where you build and operate your own retail empire. Grow crops, manage inventory, serve customers, and expand your business in this colorful 3D casual game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**My Mart**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Hyper-casual 3D aesthetic. Use low-poly primitives (cubes, cylinders, capsules) to construct characters and objects without external model loading. Use flat shading (MeshLambertMaterial) with vibrant, saturated colors. * **Characters**: * **Player**: A faceless green humanoid character (composed of capsule geometries) wearing a cap. Must support simple procedural animations (running wobble or leg swinging). * **Customers**: Similar geometry to the player but blue. They spawn from the parking lot entrance, grab items, and queue at the register. * **Environment**: * **Mart Layout**: An open-plan room with a blue floor, peach/red walls, and large glass entrance doors. * **Stations**: * **Tomato Patch**: Green rectangular plots with red spheres (tomatoes) growing on top. * **Chicken Coop**: A simple wooden enclosure with white capsule "chickens". * **Shelves**: Wooden or metal racks with dedicated slots for Tomatoes and Eggs. * **Cash Register**: A red counter with a simple grey monitor mesh. * **Visual Feedback**: * **Stacking Mechanic**: When the player picks up items, they must physically stack vertically in the player's hands/arms. * **Particle Effects**: Simple white "puff" particles when the player runs (dust trail) and when items are harvested. * **Optimization**: Use `THREE.InstancedMesh` for repeated objects like shelf items and garden crops to ensure 60FPS on mobile devices. ### 2. Audio Requirements * **BGM**: A lighthearted, looping "supermarket bossa nova" or upbeat casual track. * **Sound Effects (SFX)**: * **Harvest/Pickup**: A satisfying "pop" sound (high pitch). * **Stacking**: A soft wooden "clack". * **Register**: A classic "Cha-ching" cash register sound. * **Chicken**: A comical "Cluck" when fed. * **Footsteps**: Soft rhythmic tapping synced with movement speed. ### 3. Gameplay Loop * **Core Logic**: The game is a Resource Management & Time Management simulation. * **Production Chain**: 1. **Source**: Walk to Tomato Patch -> Wait 1s -> Harvest Tomatoes (Max stack: 4). 2. **Conversion**: Walk to Chicken Coop -> Feed 2 Tomatoes -> Chicken lays 1 Egg after delay. 3. **Stocking**: Walk to Shelves -> Deposit items automatically if shelf is not full. 4. **Sales**: Customers take items -> Queue at Register -> Player stands at register to process payment -> Score increases. * **Constraints**: * Player carrying capacity: Max 4 items. * Shelf Capacity: Tomato Shelf (15), Egg Shelf (9). * Supply & Demand: Customers leave angry if shelves are empty for too long. ### 4. Mobile Controls & Interaction * **Control Scheme**: **Floating Virtual Joystick**. * Touching anywhere on the screen creates the joystick anchor. Dragging controls the character's velocity and rotation. * Release touch to stop. * **Interaction Method**: **Proximity-Based (Collision Triggers)**. * No buttons for actions. The player simply walks into a "Zone" (e.g., the Tomato Patch circle) to automatically start the harvest/feed/stock action. * Include a visual progress ring (circular UI filling up) above the player's head when performing an action (like harvesting). * **Camera**: Top-down Isometric view (approx 45 degrees), following the player smoothly with a slight delay (`lerp`). * **Orientation**: Landscape mode locked. * **Haptic Feedback**: Trigger the device's vibration (`navigator.vibrate`) briefly when harvesting an item or receiving money. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About My Mart

My Mart is a captivating business simulation game that puts you in charge of running your very own supermarket from the ground up. This casual management game combines farming, retail operations, and customer service into one engaging experience that challenges your multitasking abilities and business acumen.

In this colorful 3D world, you'll start with a small market and gradually expand it into a thriving retail empire. The game features intuitive gameplay mechanics that make it accessible to players of all ages while providing enough depth to keep you engaged for hours.

Core Features

Complete Business Management Experience

My Mart offers a comprehensive retail simulation where every aspect of supermarket operation is under your control. You'll manage multiple stations including tomato gardens, chicken coops, product shelves, and checkout counters, creating a realistic business management experience.

Farm-to-Market Integration

Unlike traditional retail games, My Mart includes farming elements where you grow your own produce. Cultivate tomatoes in your garden, feed chickens to produce fresh eggs, and maintain a complete supply chain from farm to customer.

Dynamic Customer Service

Serve a steady stream of customers who visit your mart with different needs. Keep shelves stocked, process payments quickly, and maintain efficient operations to ensure customer satisfaction and maximize profits.

Strategic Resource Management

Balance your inventory carefully - tomato shelves hold up to 15 items while egg shelves accommodate 9 products. You can carry 4 items at once, making every trip count as you optimize your workflow.

Progressive Expansion

As your business grows, unlock new areas, expand your product range, and hire employees to help manage the increasing workload. Transform your small neighborhood mart into a bustling supermarket.

Game Mechanics

Station Management System

Your supermarket operates across five key stations: - Tomato Garden : Harvest fresh produce for sale and chicken feed - Chicken Coop : Feed chickens tomatoes to produce valuable eggs - Product Shelves : Stock tomatoes and eggs for customer purchase - Cash Register : Process customer transactions efficiently - Expansion Areas : Unlock new sections as your business grows

Supply Chain Optimization

Success in My Mart depends on understanding the interconnected systems. Each tomato fed to chickens produces one egg, with chickens able to eat two tomatoes at a time and lay up to four eggs. This creates engaging puzzle-like scenarios where you must optimize resource allocation.

Gameplay Instructions

Getting Started

Begin your supermarket journey by following the helpful in-game prompts that guide you through basic operations. Start by harvesting tomatoes from your garden, then feed some to your chickens while stocking the remainder on shelves for customers.

Daily Operations

Your typical day involves continuous movement between stations. Pick tomatoes, feed chickens, collect eggs, restock shelves, and serve customers at the register. The challenge lies in maintaining smooth operations while keeping everyone happy.

Efficiency Tips

  • Plan your routes between stations to minimize walking time
  • Keep an eye on shelf inventory levels to prevent stockouts
  • Balance chicken feeding with direct tomato sales
  • Process customer transactions quickly to prevent queues
  • Monitor all stations regularly for optimal performance

Why Play My Mart

My Mart stands out in the simulation game category by combining multiple gameplay elements into one cohesive experience. It's perfect for players who enjoy:

  • Casual Management : Easy to learn but challenging to master gameplay
  • Strategic Thinking : Balancing resources and optimizing workflows
  • Progressive Growth : Watching your small mart expand into a successful business
  • Relaxing Gameplay : Colorful 3D graphics and stress-free environment
  • Free Access : Complete game experience available in your web browser

Whether you're interested in business simulation, farming games, or casual management experiences, My Mart delivers an entertaining and engaging gameplay experience that keeps you coming back to grow your retail empire.

Frequently Asked Questions (FAQ)