Skip to content

Instantly share code, notes, and snippets.

@cedrickchee
Last active July 25, 2025 03:48
Show Gist options
  • Save cedrickchee/92d4bb1e88e09a3364e4c870f71830be to your computer and use it in GitHub Desktop.
Save cedrickchee/92d4bb1e88e09a3364e4c870f71830be to your computer and use it in GitHub Desktop.
Bug Hunting with Kimi K2 and OpenCode

Bug Hunting with Kimi K2 and OpenCode

Previously, Kimi K2 built a Minecraft clone 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

> 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.
prompt

Assistant

Plan before writing code: planning

Kimi identify the exact bug in collision detection: identify-the-bug-in-collison-detection

Kimi fix the bug: fix-the-bug

View code changes in VSCode: vscode-code-diff

Session share URL: https://opencode.ai/s/XL0SATY5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment