
Vibe Coding Journey Part 3: Debugging the macOS Freeze in Lorye Go!
Last Updated on April 15, 2025 by Editorial Team
Author(s): Lorentz Yeung
Originally published on Towards AI.
Here we are, the grand finale of my vibe coding trilogy! If you’ve followed along, you know how I built Lorye Go! Hong Kong Edition with Grok 3 in Part 1, then wrestled randomization into submission in Part 2. Now, it was time to package this Pygame beast into a macOS app using PyInstaller — a victory lap, right? Not quite. While the game sailed smoothly when run from Terminal, launching the .app bundle froze it dead after the destination screen. Stats still hit the database, but the UI? Nada. In this last chapter, I’ll break down how I chased this bug through logs and macOS quirks, proving once again that vibe coding is as much human heart as it is AI muscle. Let’s debug this together!
Vibe Coding Journey Part 1: Building Lorye Go! with AI | by Lorentz Yeung | Mar, 2025 | Towards AI
Vibe Coding Journey Part 2: Solving Randomization Issues in “Lorye Go! 香港版” | by Lorentz Yeung | Mar, 2025 | Towards AI
I developed a Pygame-based game called “Lorye Go! 香港版” and bundled it into a macOS application using PyInstaller. The game worked perfectly when running the dist/main/main executable directly in the Terminal, but when launched… Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Take our 90+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!
Towards AI has published Building LLMs for Production—our 470+ page guide to mastering LLMs with practical projects and expert insights!

Discover Your Dream AI Career at Towards AI Jobs
Towards AI has built a jobs board tailored specifically to Machine Learning and Data Science Jobs and Skills. Our software searches for live AI jobs each hour, labels and categorises them and makes them easily searchable. Explore over 40,000 live jobs today with Towards AI Jobs!
Note: Content contains the views of the contributing authors and not Towards AI.