프롬프트 도감 › No.2357
기울여 굴리는 미로 게임
Gyroscopic Maze Game
마우스로 끌거나 폰을 기울여 구슬을 굴리는 미로 게임이 파일 하나(index.html)로 나와요. 굵은 선과 원색 블록의 바우하우스 느낌이에요.
이럴 때 간단한 웹 게임 만들기, 코딩 연습, 포트폴리오 데모
도구 ChatGPT · Claude · Gemini
프롬프트
I want you to act as a master game designer specializing in mobile-responsive physics simulation. Create a SINGLE FILE (index.html) interactive maze game. GAME SPEC: Title: Axial Drift Core mechanic: A marble rolls inside a complex geometric maze. The player shifts the global gravity vector (X and Y axes) to guide the marble. Goal: Maneuver the marble to the center vector vortex while dodging dynamic kinetic trapdoors. TECH REQUIREMENTS: Single file: Pure web technology stack (<!doctype html>, CSS, JS) without heavy engine frameworks. Rendering: 2D Canvas optimized for mobile and desktop viewports, scaling pixel-perfectly. Mechanics: Accept desktop mouse click-drags or mobile device orientation API (DeviceOrientationEvent) to tilt the maze physics grid. Implement rigid-body friction, angular velocity, and momentum damping for the marble. Design style: Bauhaus architectural aesthetics. High contrast bold solid primary color blocks, heavy black stroke lines, and real-time drop shadows.
팁
- 결과 파일을 저장해서 브라우저로 열어요
- 폰에서는 기울기 허용을 눌러야 움직여요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: loshu2000.