Mini Golf Master - Free Online Mini Golf Game

Seele01-Flash
By
Mini Golf Master is an exciting online mini golf game that brings the classic arcade experience to your browser. Navigate through challenging courses with physics-based puzzles, moving obstacles, and precision gameplay.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mini Golf Master". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Camera & Perspective**: Use an **Orthographic Camera** positioned directly overhead (top-down view) to ensure consistent geometry perception for the player. The camera should follow the ball smoothly or pan to fit the current level bounds. * **Visual Style**: Clean, vibrant, and minimalist arcade style. * **Turf**: A seamless, high-saturation green grass texture (felt-like) for the floor. * **Walls/Obstacles**: Simple geometric blocks (cuboids) with wood or light grey stone textures. * **Ball**: A white sphere with a slight "dimple" normal map or simple shading to make rotation visible. * **Hole**: A dark cylinder/circle geometry with a slight inner shadow gradient to suggest depth. * **Lighting**: A combination of Ambient Light (soft white) and a Directional Light (casting distinct shadows) to provide depth cues, ensuring the ball looks detached from the ground. * **Mobile Optimization**: Use `BoxGeometry` and `CylinderGeometry` primarily to keep polygon count low. Use instanced mesh rendering if many identical wall segments are used. Avoid complex post-processing. ### 2. Audio Requirements * **BGM**: A relaxed, "Bossa Nova" or "Elevator Music" style loop. It should be soothing to minimize frustration during missed shots. * **Sound Effects (SFX)**: * **Aiming**: A stretching sound or rising pitch as the power meter increases. * **Impact**: A solid "thwack" or "pop" sound when the club hits the ball. * **Collision**: A distinct "clack" for ball-on-wall collisions (vary pitch slightly based on velocity). * **Success**: A "rattle-and-drop" sound when the ball enters the cup, followed by a cheerful chime. * **UI**: Soft clicks for menu buttons. ### 3. Gameplay Loop * **Physics Engine**: Integrate **Cannon.js** (or a custom robust 2D physics logic mapped to 3D) to handle collision detection, reflection vectors (bouncing), and linear damping (friction) to simulate grass resistance. * **Mechanic**: 1. **Idle State**: Player aims. 2. **Shot**: Ball travels based on applied force, bouncing off walls and obstacles. 3. **Stop**: Ball must come to a complete stop before the next shot is allowed. * **Level Design**: * Start with a straight shot. * Introduce static U-shaped obstacles (as seen in the reference). * Introduce moving blocks (sliding back and forth) to time shots. * **Win/Loss**: * **Win**: Ball center falls within the Hole radius. Trigger particle confetti and a "Level Complete" modal. * **Score**: Track "Par" (number of strokes). Display stars (1-3) based on efficiency. ### 4. Mobile Controls & Interaction * **Control Scheme**: **"Slingshot" (Drag-and-Release)** mechanism. * Touch anywhere on the screen (or specifically on the ball) and drag backward to aim. * The opposite direction of the drag determines the shoot vector. * The length of the drag determines power. * **Visual Feedback**: * Render a **trajectory line** or arrow that grows in length and changes color (Green -> Yellow -> Red) as power increases. * If possible, show a "ghost" path predicting the first wall bounce. * **Screen Orientation**: Locked to **Portrait Mode** for one-handed playability. * **Haptic Feedback**: Trigger a light vibration (using `navigator.vibrate`) when the ball sinks in the hole or hits a wall hard. * **UI**: Minimalist HUD. Large "Pause" button in the top corner (min 44x44px). A clear "Stroke Count" display. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Mini Golf Master

Mini Golf Master is a thrilling digital recreation of the beloved arcade mini golf experience. This free online game captures all the excitement and challenge of real-world mini golf courses, complete with intricate physics puzzles, dynamic moving obstacles, and cleverly designed pathways that test your precision and skill.

With a solid player rating of 3.5 out of 5 stars, Mini Golf Master offers an authentic mini golf experience that can be enjoyed on both desktop computers and mobile devices through any modern web browser.

Core Features

Authentic Mini Golf Physics

The game features realistic ball physics that mirror actual mini golf gameplay. Every shot requires careful consideration of angle, power, and trajectory, making each hole a satisfying puzzle to solve.

Challenging Course Design

  • Moving Obstacles : Dynamic elements that change the playing field
  • Hidden Targets : Strategic pathways that reward precision shots
  • Physics Puzzles : Each hole presents unique challenges requiring skill and strategy
  • Progressive Difficulty : Courses become increasingly challenging as you advance

Multi-Platform Accessibility

  • Browser-Based : No downloads required - play instantly in your web browser
  • Mobile Optimized : Fully compatible with smartphones and tablets
  • Cross-Device Sync : Play seamlessly across different devices
  • HTML5 Technology : Smooth performance on all modern browsers

Competitive Elements

  • Leaderboard System : Compete with players worldwide
  • Par Scoring : Challenge yourself to stay under par
  • Skill Progression : Improve your technique through practice

Game Mechanics

Mini Golf Master combines traditional mini golf rules with engaging digital enhancements. Each course is carefully designed to test different aspects of your mini golf skills, from basic putting accuracy to complex bank shots and obstacle navigation.

The game's physics engine ensures that every shot feels authentic, with realistic ball behavior that responds to surface materials, angles, and obstacles just like real mini golf.

Operation Guide

Basic Controls

  • Mouse Control : Click and drag to aim your golf ball
  • Power Adjustment : Pull back further to increase shot power
  • Direction Setting : Move your mouse to set the desired direction
  • Shot Execution : Release to take your shot

Gameplay Tips

  • Start with gentle shots to understand each hole's physics
  • Observe moving obstacles to time your shots perfectly
  • Use walls and barriers for strategic bank shots
  • Aim for precision over power - accuracy wins games

Scoring System

The game follows traditional mini golf scoring where lower numbers are better. Try to complete each hole in as few strokes as possible to achieve the best scores and climb the leaderboards.

Why Play Mini Golf Master

Nostalgic Fun : Relive the classic arcade mini golf experience without leaving your home. Perfect for players who remember the excitement of mall arcade mini golf courses.

Skill Development : Improve your spatial reasoning and precision skills through engaging gameplay that rewards practice and patience.

Stress Relief : The calm, methodical nature of mini golf makes this game perfect for relaxation and unwinding after a busy day.

Social Competition : Challenge friends and family with leaderboard scores, or simply enjoy peaceful solo play at your own pace.

Accessibility : Completely free to play with no hidden costs, downloads, or registrations required. Simply open your browser and start playing immediately.

Frequently Asked Questions (FAQ)