Game Lempar Sampah

ringkasan

Game interaktif di mana pemain melempar figur tongkat ke tempat sampah.

prompt

Ini adalah game interaktif di mana pemain menggunakan katapel yang dikontrol oleh mouse untuk meluncurkan figur tongkat ke tempat sampah. Figur tersebut terdiri atas kepala, badan, lengan, dan kaki yang dihubungkan oleh kendala, dan penerbangannya dilacak dengan grafik langsung yang menunjukkan tinggi versus jarak. Pemain mendapatkan satu poin jika berhasil mendarat di tempat sampah. Game ini mencakup kontrol kekuatan dan sudut katapel yang dapat disesuaikan, penghitung skor, retry otomatis setelah setiap lemparan, dan efek suara menarik ketika figur mendarat. Bahasa aplikasi adalah bahasa Inggris.

prompt asli

Create a game where players launch a stick-figure person into a trash can using a slingshot, powered by Matter.js for physics simulation.

The figure has a head, torso, arms, and legs connected with constraints to stay intact, and a live graph plots its height vs. distance during flight.

Players get +1 point for landing in the trash can, with adjustable slingshot power and angle for real-time experimentation.

The stick-figure is built with Matter.js bodies (circles for head, rectangles for limbs/torso) linked by constraints to keep it together.
A trash can sits on the right side, and the graph updates live as the figure flies, resetting each throw.
Add a score counter, a retry button, and sound effects for a satisfying “thud” when it lands in the can!

Q: How should the slingshot adjustments be implemented—through sliders, input fields, or another form of interactive control?
A: mouse

Q: Where do you want the live graph, score counter, and retry button positioned on the screen?
A: score, auto-retry

Q: Do you have any particular requirements or triggers for the sound effects and game resetting behavior after a throw?
A: sounds will be cool to have

ringkasan biaya pembuatan

nama model: o3-mini-medium

waktu respons: 33.96 sec.

token hasil: 6,689

biaya: $0.02992770