프롬프트 도감 › No.2353
네온 사이버 스네이크 게임
Neon Grid Snake
뱀이 부드럽게 움직이고 머리 근처 격자가 일그러지는 사이버펑크 뱀 게임을 파일 하나로 만들어 줘요. 방향키나 WASD로 조작해요.
이럴 때 미니 게임 만들기, 자바스크립트 연습, 웹 포트폴리오
도구 ChatGPT · Claude · Gemini
프롬프트
I want you to act as an expert HTML5 Canvas game developer. Your task is to write a complete, playable SINGLE FILE (index.html) game based on a modernized snake mechanic. GAME SPEC: Title: Cyber Grid Link Core mechanic: Control a snake made of chained vector particles on a shifting grid environment. Goal: Collect glowing energy matrix crystals to grow the link chain while dodging moving firewall barriers. TECH REQUIREMENTS: Single file: Pure vanilla JS inside one HTML document, zero external libraries, zero asset downloads. Rendering: HTML5 2D Canvas with requestAnimationFrame game loop. Smooth LERP interpolation for snake segment movement to create a fluid, organic motion rather than classic blocky steps. Controls: Arrow keys or WASD for absolute directional steering. Design style: Cyberpunk dark theme. The grid must warp slightly near the snake's head using localized coordinate displacement. The snake chain features a pulsing gradient texture.
팁
- 색상은 '보라색 네온'처럼 바꿔 달라고 해요
- 장애물 속도는 나중에 따로 조절해요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: loshu2000.