Cut in Half, Please!

Seele01-Flash
By
Cut in Half, Please! is an addictive precision-based puzzle game that challenges your accuracy and focus. Your mission is to slice various objects exactly in half, keeping volume differences under 5%.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Cut in Half, Please!". 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 soft, warm lighting (Ambient + Directional) to mimic a studio photography setup. The background should be a solid, pleasing color (e.g., Coral Hex #F08080 or Soft Teal) that contrasts with the object. * **Target Objects:** Procedurally generate various simple 3D shapes (Cylinder, Box, Sphere) and complex shapes (Torus for the "Macaroni" look, Extruded Shapes) to serve as the slicing targets. * **Materials:** Use `MeshStandardMaterial` for objects with a smooth, slightly shiny finish (low roughness). * **Crucial Detail:** When an object is sliced, the **internal cross-section faces** must be rendered with a distinct color or texture (e.g., a lighter shade of the exterior color) to clearly visually separate the two halves. * **Performance:** Optimize for mobile by using low-poly counts for curved objects. Use efficient shadow mapping (or baked shadows) to maintain high FPS on mobile browsers. ### 2. Audio Requirements * **BGM:** A calm, "thinking mode" background track. Lo-fi hip hop or gentle acoustic guitar that loops seamlessly. * **Sound Effects (SFX):** * **Interactions:** A distinct "whoosh" sound when drawing the cut line. * **The Cut:** A sharp, satisfying "crunch" or realistic slicing sound (ASMR style) when the separation happens. * **Success:** A high-pitched "Ding!" or major chord ripple when the result is within the 45%-55% range. * **Failure:** A dull "Thud" or comedic buzzer sound if the cut is uneven. ### 3. Gameplay Loop * **Start:** An object floats in the center of the screen, rotating slowly. * **Action:** The player defines a cutting plane. Upon release, the mesh is dynamically sliced into two separate geometries using Constructive Solid Geometry (CSG) logic or mesh splitting algorithms. * **Physics Response:** Immediately after the cut, the two halves should physically separate—falling slightly apart and rotating away from each other to reveal the cut surfaces. * **Evaluation:** The game calculates the volume of both new meshes. * Display the percentage split above each half (e.g., "48%" vs "52%"). * **Win Condition:** If the split is between 45% and 55% (a <5% difference from perfect center), show a "Perfect!" UI and a confetti particle effect. Then, load the next shape. * **Loss Condition:** If the split is uneven (e.g., 20% vs 80%), show a "Try Again" button. ### 4. Mobile Controls & Interaction * **Control Scheme:** * **Rotate Mode (One Finger Drag on Background):** Dragging on the empty background rotates the camera/object so the player can find the best angle. * **Cut Mode (Draw Line):** Touch and drag *across* the object to draw a visible "Laser Line" (using `LineRenderer`). The cut executes exactly along this line when the finger is lifted (`touchend`). * **Screen Adaptation:** Lock to **Portrait Mode**. The object should be centered vertically in the upper 2/3rds of the screen, leaving the bottom 1/3rd for UI text and hand clearance. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` upon a successful cut to provide tactile confirmation. * **UI:** Large, readable fonts for the percentage display. A clear "Next" or "Retry" button at the bottom of the screen (min height 50px for touch accessibility). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Cut in Half, Please! is a uniquely satisfying puzzle game that puts your precision skills to the ultimate test. This engaging brain teaser challenges players to achieve perfect cuts on various 3D objects, requiring steady hands and sharp concentration. The game's simple concept masks a surprisingly challenging gameplay experience that will keep you coming back for more.

With its vibrant graphics and intuitive controls, Cut in Half, Please! offers an immediately accessible yet deeply rewarding gaming experience. The satisfaction of achieving that perfect 50-50 split creates an addictive loop that appeals to puzzle enthusiasts and casual gamers alike.

Core Features

Precision-Based Gameplay

The game revolves around achieving mathematical precision in your cuts. Success is measured by keeping the volume difference between both halves under 5%, demanding exceptional accuracy and spatial awareness.

Variety of Objects

Slice through diverse 3D objects, each presenting unique cutting challenges. From simple geometric shapes to complex forms, every object requires a different approach and cutting strategy.

Progressive Difficulty

As you advance, objects become more complex and challenging to split evenly. The game gradually introduces new shapes and cutting scenarios that test your growing skills.

Immediate Feedback

Receive instant visual and numerical feedback on your cutting accuracy. Watch as the game calculates the exact volume difference, helping you improve with each attempt.

Brain Training Benefits

This game naturally enhances spatial reasoning, hand-eye coordination, and concentration skills while providing entertainment.

Gameplay Mechanics

The core gameplay is elegantly simple yet challenging to master. Each level presents you with a 3D object that must be cut as close to the center as possible. The cutting plane can be rotated and positioned with precision using smooth mouse controls.

Scoring System

Your performance is measured by how close you come to achieving a perfect 50-50 split. The smaller the volume difference between the two halves, the higher your score. Achieving cuts with less than 1% difference earns bonus points.

Strategic Thinking

Success requires more than quick reflexes. You'll need to analyze each object's geometry, identify the optimal cutting plane, and execute with precision. Some objects may have irregular shapes or weight distributions that affect the ideal cutting line.

Operation Guide

Mastering the controls is essential for success:

  • Mouse Control : Hold and drag the left mouse button to position and rotate the cutting plane
  • Precision Adjustment : Make fine adjustments by moving the mouse slowly for more accurate positioning
  • Angle Optimization : Rotate the cutting plane to find the perfect angle for each object
  • Execute Cut : Release the mouse button to make your cut and see the results

The intuitive control scheme allows for both quick cuts and careful precision work, adapting to your preferred playing style.

Why Play This Game

Cut in Half, Please! offers a unique gaming experience that combines relaxation with mental stimulation. It's perfect for:

  • Stress Relief : The satisfying nature of perfect cuts provides excellent stress relief
  • Skill Development : Improves spatial reasoning and precision motor skills
  • Quick Sessions : Perfect for short gaming breaks or extended puzzle-solving sessions
  • Universal Appeal : Easy to understand but challenging to master, appealing to all skill levels
  • Free Entertainment : Completely free to play with no hidden costs or premium features

Whether you're looking for a quick mental challenge or a relaxing puzzle experience, this game delivers both entertainment and cognitive benefits in an accessible browser-based format.

Frequently Asked Questions (FAQ)