Last active
July 25, 2025 03:48
-
-
Save cedrickchee/92d4bb1e88e09a3364e4c870f71830be to your computer and use it in GitHub Desktop.
Revisions
-
cedrickchee revised this gist
Jul 25, 2025 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,12 @@ # Bug Hunting with Kimi K2 and OpenCode Previously, [Kimi K2 built a Minecraft clone](https://gist.github.com/cedrickchee/fceb67886e5c005503d3d1840eb63fc8#ai-model-kimi-k2) in just a few minutes. It's playable in my browser. But, it's hard to control and move the player around the voxel world due to a few bugs in the 3D world model. So I take this chance to stress test Kimi K2 by giving it harder tasks such as solving tough bugs. ## Findings Kimi K2 can solve complex 3D math problems in game development. Prompt and OpenCode session below. **User** -
cedrickchee created this gist
Jul 23, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ # Bug Hunting with Kimi K2 and OpenCode Kimi K2 can solve complex 3D Math problems in Minecraft! Prompts below. **User** ``` > The player is not positioned above the ground. I think the player and the ground collision is not working properly. Find the bug if any and fix the implementation and code. ``` <img width="915" height="970" alt="prompt" src="https://gist.github.com/user-attachments/assets/4db5b425-8611-4750-a713-19ed0cd20360" /> **Assistant** Plan before writing code: <img width="910" height="970" alt="planning" src="https://gist.github.com/user-attachments/assets/fd51fd6d-3ea9-483f-9fd3-0b167006e632" /> Kimi identify the exact bug in collision detection: <img width="911" height="971" alt="identify-the-bug-in-collison-detection" src="https://gist.github.com/user-attachments/assets/68a2534f-38ff-4a6b-8cca-973c8a6469f5" /> Kimi fix the bug: <img width="912" height="970" alt="fix-the-bug" src="https://gist.github.com/user-attachments/assets/2b36c285-75b2-4423-9740-12c491551bc2" /> View code changes in VSCode: <img width="1318" height="664" alt="vscode-code-diff" src="https://gist.github.com/user-attachments/assets/dee1278a-35ac-4e2a-bd2a-2e12f6001ec7" /> Session share URL: https://opencode.ai/s/XL0SATY5