Minecraftに似た、Bedwars3Dゲームを作ってほしい。AIと戦う。Hiveにあるようなやつ。
- User
Minecraftに似た、Bedwars3Dゲームを作ってほしい。AIと戦う。Hiveにあるようなやつ。
Assistant
I'll build a 3D Bedwars game with Three.js. Let me check the project first.
Now the voxel world module:
Now the main game engine:
Now the React UI overlay:
Minecraft風の3D Bed Wars(Hive風)を実装しました 🛏️⚔️
実装内容
src/game/world.ts— ボクセルワールド(Map管理 + InstancedMeshで描画、ピクセルノイズ質感テクスチャ)、DDAレイキャスト、4島+中央島のマップ生成(各チームのベッド・発電機付き)src/game/engine.ts— ゲームエンジン- 一人称操作(ポインターロック、AABB物理、ジャンプ・ノックバック・落下死)
- ブロック破壊(長押しで硬度に応じて破壊)/設置、手に持つ剣・ブロックの表示とスイングアニメ
- AIボット3体: 拠点で資源集め → 敵ベッドへ進軍 → 足元に自動ブリッジ(橋架け)、段差ジャンプ、落下時の緊急ブロック設置、プレイヤーを見つけると追跡・攻撃、ベッド破壊、リスポーン
- ベッド破壊=最終キル判定、チーム脱落・勝敗判定
- 鉄/金/エメラルド(中央)の自動生成とショップ購入(ウール・石・木材・剣強化・防具強化・金リンゴ)
src/App.tsx— HUD(体力ハート、ホットバー、資源、チーム/ベッド状況、キルログ)、ショップUI、スタート/ポーズ画面、勝敗画面
操作: WASD移動 / Space ジャンプ / 左クリック攻撃・破壊 / 右クリック設置 / 1〜4 アイテム切替 / B ショップ
ビルドも成功しています。
Files built:
src/game/world.ts,src/game/engine.ts,src/App.tsx,index.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.