Books Tower - Stack Books Game

Seele01-Flash
By
Books Tower is an addictive stacking game where you build the tallest tower of colorful books. Test your timing and precision in this free browser-based game perfect for book lovers and casual gamers.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Books Tower". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 3D Cartoon/Casual style. Use an Orthographic Camera to simulate a 2.5D look, maintaining the "cute" vector art aesthetic of the reference but in 3D space. * **Color Palette:** Vibrant, saturated colors for the books (Red, Yellow, Blue, Green, Orange) against a dark, midnight-blue background (#2c3e50). * **Models:** * **Books:** Create `BoxGeometry` meshes. Scale them to look like thick hardcovers. Add a simple texture or different colored materials for the "cover" and white/cream for the "pages" on the sides. * **Base:** A wide, wooden-textured desk surface at the bottom acting as the foundation. * **Background:** A static background scene or skybox with faint, doodle-like patterns (stars, glasses, pencils) or floating particles to keep the scene lively without distracting. * **Lighting:** Soft ambient light combined with a Directional Light to cast shadows downwards, giving the stack depth. * **Mobile Optimization:** Use low-poly geometries. Enable shadow maps only if performance allows, otherwise use baked-in shading or MeshToonMaterial. ### 2. Audio Requirements * **BGM:** A "Peppy", upbeat, and looping track. Think "Cozy Lo-Fi" or "Casual Arcade" style that is relaxing but rhythmic. * **Sound Effects (SFX):** * **Hovering:** A subtle "whoosh" sound as the book moves left and right (optional, keeps it clean). * **Drop:** A "thud" or "book slap" sound when a book lands successfully. * **Perfect Match:** A satisfying "ding" or magical chime if the book is aligned perfectly with the one below it. * **Game Over:** A chaotic "crashing" sound of books tumbling down. ### 3. Gameplay Loop * **Mechanic:** * The game starts with one book placed on the desk. * A new book spawns above the stack and automatically oscillates (moves back and forth) on the X-axis (Left <-> Right). * **Physics Logic:** When the player taps, the book stops moving horizontally and falls (enable gravity/dynamic physics). * **Stacking & Balance:** * Use a physics engine (like Cannon.js or Ammo.js) to simulate realistic mass. * If the book lands off-center, the tower becomes unstable. * The goal is to stack as high as possible. If the tower tips over and books fall off the screen, the game ends. * **Camera Logic:** The camera must smooth-lerp (move) upwards as the stack grows to keep the top of the tower in the center of the screen (roughly 2/3rds down from the top). * **Progression:** As the score increases, the books move slightly faster, making timing more difficult. ### 4. Mobile Controls & Interaction * **Controls:** One-touch input. Detect `touchstart` or `mousedown` anywhere on the screen to drop the current book. * **Orientation:** **Portrait Mode** is mandatory (vertical aspect ratio) to accommodate a tall tower. * **UI Elements:** * **Score:** Large, distinct font at the top center of the screen. * **Start/Restart:** A clear overlay with a "Play Again" button that appears immediately upon Game Over. * **Hit Area:** Ensure buttons have a minimum touch target of 44x44 pixels. * **Feedback:** * **Visual:** A small "dust" particle effect when a book lands. * **Haptic:** Trigger `navigator.vibrate(50)` (short pulse) when a book lands successfully. Trigger a longer vibration on Game Over. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Books Tower

Books Tower is a delightfully simple yet challenging stacking game that combines precision timing with colorful book-themed graphics. With a solid 3.6/5 rating from players worldwide, this browser-based game offers endless entertainment for anyone who enjoys testing their reflexes and building skills.

In this charming game, you'll stack colorful books of varying sizes on a wooden desk while upbeat music plays in the background. The objective seems simple: drop each oscillating book at the perfect moment to create the tallest, most stable tower possible. However, as books swing from left to right with increasing speed, maintaining perfect alignment becomes an exciting challenge.

Core Features

Instant Browser Gaming

  • No downloads required : Play immediately in any modern web browser
  • HTML5 technology : Smooth performance across all devices
  • Mobile optimized : Perfect touch controls for smartphones and tablets
  • Completely free : No payments, subscriptions, or hidden costs

Engaging Gameplay Mechanics

  • Physics-based stacking : Realistic book physics create authentic challenge
  • Progressive difficulty : Books move faster as your tower grows taller
  • High score system : Compete against players worldwide on the leaderboard
  • Colorful graphics : Vibrant book designs and clean, minimalist interface

Perfect for All Players

  • Easy to learn : Simple one-click/tap controls anyone can master
  • Hard to master : Requires perfect timing and steady concentration
  • Quick sessions : Play for minutes or hours - perfect for breaks
  • Family friendly : Suitable for all ages with educational book theme

Game Mechanics

Stacking System

Each book oscillates horizontally across the screen before you drop it. The key to success lies in timing your click or tap precisely when the book aligns with the one below it. Perfect alignment maintains your tower's stability, while misaligned books create an unstable base that will eventually topple.

Scoring and Progression

Your score increases with each successfully stacked book. The higher your tower, the more points you earn. The game tracks your best performance, encouraging you to beat your personal record with each playthrough.

Visual and Audio Experience

The game features a clean, cartoon-style design with bright, colorful books set against a simple wooden desk background. Cheerful background music keeps you motivated as you build your literary tower.

How to Play

Controls

  • Desktop : Click your mouse when the book is perfectly positioned
  • Mobile : Tap the screen with your finger when ready to drop
  • Timing : Watch the oscillating book and click/tap at the optimal moment

Strategy Tips

  1. Watch the pattern : Books follow predictable swing patterns
  2. Stay focused : Don't rush - patience leads to better alignment
  3. Plan ahead : Consider how each placement affects future stacks
  4. Practice regularly : Muscle memory improves your timing precision

Winning Approach

Success in Books Tower requires a combination of patience, timing, and concentration. Start by observing the book's movement pattern, then time your click for maximum alignment. As towers grow taller, books move faster, demanding quicker reflexes and better prediction skills.

Why Play Books Tower

Perfect Casual Gaming Experience

This game exemplifies excellent casual gaming design. Sessions can last anywhere from 30 seconds to several minutes, making it perfect for quick entertainment breaks or longer relaxation sessions. The simple concept paired with progressively challenging gameplay creates an addictive loop that keeps players returning.

Educational Value

While entertaining, Books Tower subtly promotes appreciation for books and reading. The colorful book designs and literary theme make it particularly appealing to students, teachers, and book enthusiasts of all ages.

Stress Relief and Focus Training

The game's meditative quality helps improve concentration and provides stress relief. The requirement for precise timing and steady focus makes it an excellent brain training exercise disguised as entertainment.

Social Competition

The integrated leaderboard system adds competitive elements, allowing you to compare your stacking skills with players worldwide. Challenge friends to beat your high score and see who can build the most impressive book tower.

Frequently Asked Questions (FAQ)