Farming 10 x 10 - Block Puzzle Game

Seele01-Flash
By
Farming 10 x 10 is an addictive block puzzle game that combines farming themes with strategic gameplay. Plant crops by arranging blocks to create complete rows and columns, earning points as your virtual farmer clears the field.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Farming 10 x 10**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Casual, vibrant Low-Poly 3D with a top-down orthographic camera view. The aesthetic should feel like "Harvest Moon" meets a clean puzzle interface. * **The Grid (Field):** A 10x10 grid representing a plowed field. Each cell is a dark brown soil tile. * **Block Models:** Instead of abstract cubes, the blocks are clusters of crops. * **Crops:** Tomato (Red spheres), Corn (Yellow cylinders), Eggplant (Purple capsules), Wheat (Golden rods), Daisies (White/Yellow). * **Rendering Optimization:** Use `THREE.InstancedMesh` for the crops to ensure 60FPS performance on mobile devices, as there may be up to 100 items on screen. * **Environment:** A soft, sunny farm background (green grass texture) surrounding the main grid. Simple low-poly wooden fences bordering the gameplay area. * **Lighting:** Warm, directional sunlight (simulating afternoon) with soft shadows to give depth to the crop blocks. ### 2. Audio Requirements * **BGM:** A relaxing, looping acoustic guitar or banjo track (Country/Folk style) that evokes a peaceful farming atmosphere. * **SFX - Interaction:** A soft "dirt thud" sound when picking up a block. A "squish" or "planting" sound when dropping a block onto the grid. * **SFX - Scoring:** A satisfying "scythe swoosh" or "tractor engine" sound when a row/column is cleared. * **SFX - UI:** Wooden click sounds for buttons. A cheerful jingle for a high score. ### 3. Gameplay Loop * **Core Mechanic:** Classic 10x10 grid puzzle. * The player is presented with **3 random block shapes** (tetrominoes/polyominoes made of crops) at the bottom of the screen. * The player must drag and place these blocks onto the 10x10 grid. * Blocks cannot overlap existing crops. * **Clearing Mechanic (Harvesting):** When a row or column is completely filled, a visual effect (representing a farmer or a tractor beam) sweeps across that line, clearing the crops and awarding points. * **Refill Logic:** The player must place all 3 distinct blocks from the bottom "hand" before a new set of 3 blocks is generated. * **Game Over:** The game checks after every move if the remaining blocks in the hand can fit anywhere on the grid. If no moves are possible, the game ends. * **Scoring:** Points are awarded for placing blocks (based on crop count) and bonus points for clearing lines (combo multipliers for clearing multiple lines at once). ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (Vertical) is mandatory. The grid occupies the upper center, and the "Hand" (spawn area for 3 blocks) is at the bottom third of the screen. * **Touch Control (Raycaster):** * Implement `touchstart`, `touchmove`, and `touchend` event listeners. * **Drag Offset:** Crucial for mobile—when the player touches a block to drag it, the block should render slightly **above** the finger's touch point so the player can see exactly where they are placing it on the grid. * **Visual Feedback:** * **Ghost Preview:** When dragging a block over the grid, show a semi-transparent "ghost" of the block on the valid grid cells to indicate where it will land. * **Invalid Placement:** If hovering over an invalid spot (overlap), the ghost should turn red. * **UI Layout:** Score counter at the very top (large text). A "Restart" button in a wooden style at the top right, with a minimum touch target of 44x44px. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Farming 10 x 10 is a unique puzzle game that brings together the satisfaction of farming with the strategic challenge of block placement. Rated 4.2/5 by players, this engaging puzzle game transforms traditional block-stacking mechanics into an agricultural adventure where you plant virtual crops including eggplants, tomatoes, corn, wheat, and colorful daisies.

The game follows the classic 10x10 grid format but adds a charming farming twist. Instead of simple blocks, you're planting crops that need to be arranged strategically to maximize your harvest. When you complete a full row or column, a cheerful farmer character appears on screen to clear your crops, rewarding you with points and making room for new plantings.

Core Features

Strategic Block Placement Gameplay

Every move matters in Farming 10 x 10. You must carefully consider where to place each crop block, as the game requires you to use all three available block options before receiving new ones. This creates a compelling strategic element that keeps players engaged and thinking several moves ahead.

Diverse Crop Varieties

The game features multiple crop types that add visual appeal and thematic depth: - Eggplants : Purple blocks that add color variety - Tomatoes : Classic red farming staples
- Corn : Golden yellow crops for autumn vibes - Wheat : Essential grain crops - Daisies : Beautiful flowers for aesthetic appeal

Complete Free-to-Play Experience

Farming 10 x 10 is completely free to play with no hidden costs or premium features. Access the full game experience immediately through your web browser without any downloads or installations required.

Cross-Platform Compatibility

Built with HTML5 technology, the game runs smoothly on: - Desktop computers and laptops - Mobile phones and tablets - All modern web browsers - Touch-screen optimized controls for mobile devices

Leaderboard Competition

Compete against players worldwide through the integrated leaderboard system. Track your progress, beat your personal best scores, and climb the rankings by mastering efficient crop placement strategies.

Gameplay Mechanics

The core gameplay loop is elegantly simple yet deeply engaging. Players receive three different-shaped crop blocks at the bottom of the screen. Each block must be placed on the 10x10 grid, and the challenge lies in positioning them to create complete horizontal rows or vertical columns.

When a row or column is completed, the farmer character performs a satisfying clearing animation, removing the crops and awarding points based on the number of blocks cleared. Multiple simultaneous line clears create combo bonuses, significantly boosting your score.

The game continues until no more blocks can be placed on the grid, creating natural stopping points that encourage "just one more game" replay value.

Operation Guide

Basic Controls

  • Click and Drag : Select crop blocks from the bottom panel and drag them to desired positions on the grid
  • Rotation : Some block shapes can be rotated for better placement options
  • Preview : Hover blocks over the grid to preview placement before committing
  • Touch Controls : On mobile devices, tap and drag with your finger

Winning Strategies

  • Plan Ahead : Always consider how current placements affect future options
  • Prioritize Clearing : Focus on creating complete lines rather than just filling space
  • Corner Strategy : Use corner spaces efficiently as they're often harder to clear
  • Multi-Line Clears : Position blocks to clear multiple rows/columns simultaneously for bonus points

Scoring System

Points are awarded based on: - Number of blocks cleared per line - Simultaneous multiple line clears - Consecutive clears without gaps - Efficiency bonuses for optimal placements

Why Play Farming 10 x 10

This game perfectly balances accessibility with depth, making it ideal for both casual puzzle fans and serious strategists. The farming theme adds charm and personality to the classic block puzzle formula, while the 10x10 format provides the perfect balance of challenge and playability.

The instant-play nature means you can enjoy quick gaming sessions during breaks or settle in for longer puzzle-solving marathons. The combination of relaxing farming visuals with engaging strategic gameplay creates a uniquely satisfying gaming experience.

Whether you're a fan of traditional puzzle games like Tetris, farming simulation games, or simply enjoy challenging your spatial reasoning skills, Farming 10 x 10 offers an entertaining and rewarding experience that grows more engaging with each play session.

Frequently Asked Questions (FAQ)