ប្រើ prompt តែមួយបង្កើត Boss Fight ក្នុង browser ដែលមាន 3 ដំណាក់កាល ក្នុងពេលប្រហែល 40 នាទី
ប្រភព: @0xGisu (បើកផ្ទាំងថ្មី)

ប្រើ prompt តែមួយបង្កើត Boss Fight ក្នុង browser ដែលមាន 3 ដំណាក់កាល ក្នុងពេលប្រហែល 40 នាទី

prompt មួយទៅ Claude សង់ការប្រយុទ្ធចៅហ្វាយតូចក្នុងកម្មវិធីរុករក មានឆាកមួយ និងចៅហ្វាយមួយ។

របៀបប្រើ

  1. ចម្លង prompt។
  2. បិទភ្ជាប់ prompt ចូលក្នុង Claude។
  3. បើកឯកសារ HTML ក្នុងកម្មវិធីរុករក។
  4. ពិនិត្យការគេច ការរញ្ជួយអេក្រង់ និងលេខការខូចខាត។

FORWHAT

ប្រយោគបញ្ជាដើម · អង់គ្លេស

You know, build me a boss fight. Insanely good game feel, something that looks and feels like a modern indie hit. Keep it small in scope: one arena, one boss, one player. Make the boss fight the best 3 minutes of my day.

Make it a single HTML file I can play right here in the browser. Use Three.js from cdnjs (or plain WebGL). No external images or sound files: every model, texture, particle and sound is generated in code (Web Audio for sound).

The fight:
- Third-person camera behind the player, stylised dark-fantasy arena at dusk, strong rim light, fog, embers in the air.
- Player: move (WASD), dodge roll with i-frames (Space), light attack (left click), heavy attack (hold left click), health bar and stamina bar.
- Boss: an original giant armoured creature with its own name shown at the top with a big health bar. 3 phases: phase 2 at 66% HP, phase 3 at 33% HP. Each phase adds a new readable attack with a clear wind-up (glow, sound cue). At least: a sweeping swipe, a ground slam with shockwave ring, a charge, and in phase 3 a rain of fire projectiles.
- Feel: hit-stop on every hit, screen shake, damage numbers, sparks, boss stagger after 3 heavy hits, slow-motion on the final blow.
- Sound: synthesized music that changes per phase, impact sounds, boss roar on phase change.

Flow: title screen with the game name and "Click to start" -> fight -> victory screen with time and hits taken, or "YOU DIED" screen -> restart on click. Show controls on screen for the first 8 seconds.

Original game only: no names, characters or designs from existing games.
Target 60 fps on a normal laptop. Fix any bug you notice before you finish, and make sure the whole loop from title to victory works.
បើកក្នុង ChatGPT (បើកផ្ទាំងថ្មី) បើកក្នុង Claude (បើកផ្ទាំងថ្មី)
អានបន្ថែម

សង្ខេប

gisu (@0xGisu លើ X) និយាយថា ការប្រើ prompt តែមួយទៅកាន់ Claude Fable 5.2 លើគម្រោង Claude Pro បានជួយឱ្យគាត់បង្កើត boss fight ក្នុង browser ដែលអាចលេងបានក្នុងពេលប្រហែល 40 នាទី ដោយមិនបាច់ប្រើ Unity ឬ assets អីឡើយ។ វាមានសង្វៀនប្រយុទ្ធមួយ មាន boss យក្សដែលអាចវាយចេញជាកម្លាំងរលក (shockwave) មានការធ្វើឱ្យសត្រូវទន់ដៃ (stagger) និងមានលេខបង្ហាញកម្លាំងវាយ (damage) ព្រមទាំងមានការរមៀលគេច ការទាក់ទាញពេលវាយត្រូវ និងការរញ្ជួយ screen ហើយរាល់ model, texture និងសំឡេង គឺសរសេរចេញពី code ក្នុង file HTML តែមួយប៉ុណ្ណោះ។

គាត់បានដាក់ prompt ទាំងមូលនៅក្នុង reply។ វាមានលក្ខណៈដូចជាការរៀបរាប់ពីការ design game តូចមួយ៖ ការបញ្ជាអ្នកលេង boss ដែលមាន 3 ដំណាក់កាលដែលដំណាក់កាលនីមួយៗមានក្បាច់វាយថ្មី និងមានសញ្ញាព្រមានច្បាស់ៗ មាន effect បន្ថែមឱ្យលេងទៅមានអារម្មណ៍ល្អ មានភ្លេងដូរទៅតាមដំណាក់កាល មាន screen បង្ហាញចំណងជើង ជ័យជម្នះ និង 'YOU DIED' ព្រមទាំងកំណត់ឱ្យវាជា game ថ្មីសុទ្ធ និងគោលដៅ 60 fps ។

សម្រាប់កម្ពុជា

សិស្សខ្មែរដែលមាន laptop និងមាន subscription Claude អាចប្រើ prompt នេះដើម្បីធ្វើ game ឱ្យមិត្តភក្តិលេងក្នុង browser បាន ដោយមិនបាច់ដំឡើង engine អីញ៉ាំញ៉ាំច្រើន។ Prompt នេះក៏ជា checklist ដ៏ល្អសម្រាប់រៀនពីអ្វីដែលធ្វើឱ្យការប្រយុទ្ធក្នុង game មើលទៅជក់ចិត្ត ដែលវាជួយដល់អ្នកចង់រៀន design game ផងដែរ។

កំណត់ចំណាំ

កំណត់សម្គាល់

Post by gisu (@0xGisu on X), 11 Nov 2026: https://x.com/0xGisu/status/2120548914893832471; the full prompt is in his reply https://x.com/0xGisu/status/2120550891736518760, labelled 'Claude Fable 5.2, effort High, paste into a new chat' (both checked via the X API on 2026-11-12). The prompt is quoted verbatim. The 40 minutes and the post's '$3,400 freelancer week' line are his own claims, and the post also points to his own article. Title, summary and why are in our words.

ប្រភព

បើកប្រភពដើម។

https://x.com/0xGisu/status/2120548914893832471 (បើកផ្ទាំងថ្មី)

ពិនិត្យថ្ងៃ 2026-11-12។

កំណត់សម្គាល់ពីប្រយោគបញ្ជា

រក្សាទុក prompt ជាភាសា English។ អ្នកអាចដូរទីតាំងសង្វៀន និង boss ទៅតាមគំនិតខ្លួនឯងបាន ឧទាហរណ៍ដូចជាប្រាសាទនៅពេលព្រលប់ ប៉ុន្តែត្រូវរក្សាទុកបន្ទាត់ 'original game only' ដើម្បីកុំឱ្យវា copy តាម game គេដែលមានស្រាប់។ សាកល្បងវាលើ laptop ដែលអ្នកប្រើផ្ទាល់។

ប្រភេទដំបូងលើករណីមួយ គឺជាគោលបំណងចម្បង។ ប្រភេទបន្ទាប់ គឺជាស្លាកបន្ទាប់បន្សំ។

ស្វែងរកក្នុងបណ្ដុំ