---
name: prototipe-game-html-threejs
description: "Contoh prompt dari Simon Willison untuk membangun prototipe game mobile-friendly berbasis HTML dan Three.js agar konsepnya terbukti berjalan dulu sebelum diiterasi."
category: implementasi
status: "Contoh prompt"
source: https://rizafahmi.com/prompts/prototipe-game-html-threejs/
raw_prompt: https://rizafahmi.com/prompts/prototipe-game-html-threejs.md
---

# Buat prototipe game mobile-friendly dengan HTML dan Three.js

> Contoh prompt dari Simon Willison untuk membangun prototipe game mobile-friendly berbasis HTML dan Three.js agar konsepnya terbukti berjalan dulu sebelum diiterasi.

## When to Activate

- **Category:** Implementasi
- **Status:** Contoh prompt
- **Use Case:** Contoh prompt dari Simon Willison untuk membangun prototipe game mobile-friendly berbasis HTML dan Three.js agar konsepnya terbukti berjalan dulu sebelum diiterasi.
- **Keywords:** game, threejs, html, mobile-friendly, prototype, simon-willison

## Executable Prompt / Instructions

```text
Build HTML and Three.JS to build a mobile friendly game that [jelaskan ide atau mekanik game].

Build me a prototype first. Get me to a point where I can see that it's definitely going to work.
```

## Customizable Parameters

- `[jelaskan ide atau mekanik game]` — **Ide atau mekanik game** (contoh: *mis. lets you steer a paper plane through floating rings with touch controls*)

## Field Notes & Execution Context

**Konteks:** Contoh prompt dari [Simon Willison di Lenny's Podcast](https://youtu.be/izuAcwXLDso?t=1344) tentang cara membangun *game* dengan LLM. Meminta keluaran berbasis HTML dan Three.js yang *mobile-friendly* membuat prototipe bisa langsung dibuka dan diuji di peramban ponsel tanpa langkah *build* yang rumit.

### Cara memperluas dan beriterasi

1. **Mulai dari prompt inti:** Jelaskan ide atau mekanik *game* pada bagian `Build HTML and Three.JS to build a mobile friendly game that ...`.
2. **Minta prototipe pembuktian terlebih dahulu:** Tambahkan kalimat *"Build me a prototype first. Get me to a point where I can see that it's definitely going to work."* agar LLM fokus membuktikan mekanik inti dan kontrol sentuhnya benar-benar bekerja, bukan langsung menghabiskan konteks pada detail kosmetik.
3. **Iterasi dari titik yang sudah berjalan:** Setelah prototipe bisa dimainkan dan terbukti berhasil, lanjutkan iterasi secara bertahap—misalnya menyempurnakan fisika, kontrol *mobile*, level, sistem skor, audio, dan tampilan visual.

**Catatan:** Pola *"build me a prototype first"* ini efektif bukan hanya untuk *game* Three.js, tetapi juga untuk eksperimen web interaktif lain agar risiko teknis terbukti lebih awal sebelum fitur berkembang jauh.

## Provenance & Proof of Work

- **Attribution:** Simon Willison · Lenny's Podcast
- **Video podcast:** https://youtu.be/izuAcwXLDso?t=1344
- **Interactive Workbench:** https://rizafahmi.com/prompts/prototipe-game-html-threejs/

