<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Philipp Schürer</title>
    <description>The latest articles on DEV Community by Philipp Schürer (@philipp_schuerer).</description>
    <link>https://dev.to/philipp_schuerer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2471203%2F28c478a0-8150-4bc2-a5f1-eb6c6edb72d2.jpg</url>
      <title>DEV Community: Philipp Schürer</title>
      <link>https://dev.to/philipp_schuerer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/philipp_schuerer"/>
    <language>en</language>
    <item>
      <title>A player spent 30 minutes looking for a truck. The fix shipped that evening.</title>
      <dc:creator>Philipp Schürer</dc:creator>
      <pubDate>Tue, 24 Nov 2026 06:22:20 +0000</pubDate>
      <link>https://dev.to/philipp_schuerer/a-player-spent-30-minutes-looking-for-a-truck-the-fix-shipped-that-evening-55k0</link>
      <guid>https://dev.to/philipp_schuerer/a-player-spent-30-minutes-looking-for-a-truck-the-fix-shipped-that-evening-55k0</guid>
      <description>&lt;p&gt;By day I'm a solution architect. In the evenings I build offline games at mia.max Games, among them &lt;strong&gt;Dock Empire&lt;/strong&gt;, a logistics tycoon for Android written in Godot 4. I build it AI-augmented: Claude Code writes most of the code, and I decide what gets built and what ships.&lt;/p&gt;

&lt;p&gt;Last Sunday a four-star review came in at 17:18. Translated from German:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;So far good. I've been wondering for 30 minutes where I get the 2nd car from, because the quest asks for it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Four stars, and still the most useful bug report of the week.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why nobody had noticed
&lt;/h2&gt;

&lt;p&gt;The sixth goal in the game says &lt;em&gt;"Buy a second vehicle"&lt;/em&gt;. Vehicles are sold in the &lt;strong&gt;Build&lt;/strong&gt; sheet, in the &lt;strong&gt;Fleet&lt;/strong&gt; section, near the bottom of a long list. During the tutorial an arrow points at every button. After the tutorial, nothing points anywhere.&lt;/p&gt;

&lt;p&gt;I know where the vehicles are because I put them there. That's the trap: the person who designed the menu is the one person who can't see the problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  17:51: answer first
&lt;/h2&gt;

&lt;p&gt;Before any code, the player got a reply with the workaround: &lt;em&gt;Build → Fleet, the mini-van costs €1,600, and the goal completes as soon as you buy it.&lt;/em&gt; That fixes it for one player. The game still had the same gap for everyone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix: a "Show" button on every purchase goal
&lt;/h2&gt;

&lt;p&gt;I asked Claude Code to find out why it happened and what we could improve. It traced the problem and proposed a button.&lt;/p&gt;

&lt;p&gt;Every goal that asks you to buy something now has a &lt;strong&gt;Show&lt;/strong&gt; button in the goal banner. It opens Build, scrolls to the right card and makes the buy button glow until the goal is done. The glow is the tutorial's highlight, reused. No new UI system.&lt;/p&gt;

&lt;p&gt;The core is one small mapping from goal type to build card:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight gdscript"&gt;&lt;code&gt;&lt;span class="n"&gt;static&lt;/span&gt; &lt;span class="n"&gt;func&lt;/span&gt; &lt;span class="nf"&gt;build_target&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sim&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Simulation&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mission&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Dictionary&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;match&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mission&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;"fleet_size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"vehicle_"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;cheapest_vehicle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sim&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="s2"&gt;"vehicle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"vehicle_"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mission&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"vehicle"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="s2"&gt;"upgrade"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"upgrade_"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mission&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"upgrade"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nc"&gt;BuildSheet&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lists_upgrade&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mission&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"upgrade"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;
        &lt;span class="s2"&gt;"forklifts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"upgrade_forklift"&lt;/span&gt;
        &lt;span class="s2"&gt;"event"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mission&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"event"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"module_placed"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"module_rack"&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Writing that took minutes. Most of the evening went into three other things.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Questions before code
&lt;/h3&gt;

&lt;p&gt;Before any code, four questions had to be settled:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which goals count as purchases? (36 of the 97 goals in the game.)&lt;/li&gt;
&lt;li&gt;What happens when the player can't afford it yet? The glow still points, but there's no "tap here" hint on a disabled button.&lt;/li&gt;
&lt;li&gt;Does it work in landscape, where Build opens as a side panel?&lt;/li&gt;
&lt;li&gt;Should the tutorial get it? No, the tutorial already points at everything.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those four questions are the actual design. The code just follows them.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Context keeps the change small
&lt;/h3&gt;

&lt;p&gt;The repo has a &lt;code&gt;CLAUDE.md&lt;/code&gt; with the architecture rules. One of them: &lt;em&gt;the simulation decides, the UI presents.&lt;/em&gt; So the fix stayed entirely in the UI layer: 8 files, no change to the game simulation, no change to the save format, no migration.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Test the whole class, not the one case
&lt;/h3&gt;

&lt;p&gt;The player tripped over one goal. The test covers every goal, including ones that don't exist yet:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight gdscript"&gt;&lt;code&gt;&lt;span class="n"&gt;func&lt;/span&gt; &lt;span class="nf"&gt;test_every_purchase_goal_names_a_card_of_the_build_sheet&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;void&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;goal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Dictionary&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;goals&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;goal&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;buys&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;bool&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"fleet_size"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"vehicle"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"upgrade"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"forklifts"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; \
            &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;goal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"event"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"module_placed"&lt;/span&gt;
        &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;target&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;MissionBanner&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;build_target&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sim&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;goal&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nf"&gt;assert_eq&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;buys&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"%s: a Show button exactly for purchases"&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;goal&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If I add a goal next month that asks for an upgrade the Build sheet doesn't list, this test fails before a player finds it.&lt;/p&gt;

&lt;p&gt;Four more tests drive the real UI headless. The tutorial has no Show button. In portrait and in landscape, tapping Show scrolls the card into view and lights the glow, and buying the vehicle completes the goal and ends the glow. The glow also ends when the sheet closes. The full suite has 491 tests and takes about 20 minutes headless. It passed.&lt;/p&gt;

&lt;p&gt;Then a test on a real phone, with a dev build that has its own package name, so testing never touches the version installed from the store.&lt;/p&gt;

&lt;h2&gt;
  
  
  The timeline
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;What happened&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;17:18&lt;/td&gt;
&lt;td&gt;Review arrives&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;17:51&lt;/td&gt;
&lt;td&gt;Reply with the workaround&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;18:17&lt;/td&gt;
&lt;td&gt;Fix committed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;~19:50&lt;/td&gt;
&lt;td&gt;Version 1.9.1 submitted to Google Play, full rollout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;same evening&lt;/td&gt;
&lt;td&gt;Live; the reply updated to point at the new button&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The release also carried a second fix a player had reported by email the same day. One evening, two player reports, both shipped.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I take from it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A confused review is a bug report.&lt;/strong&gt; Players rarely say &lt;em&gt;"your information architecture has a gap."&lt;/em&gt; They say &lt;em&gt;"where is the car?"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The AI wrote the code; the decisions stayed mine.&lt;/strong&gt; What to build, where it belongs and when it's good enough to ship.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context beats prompting.&lt;/strong&gt; The rules in &lt;code&gt;CLAUDE.md&lt;/code&gt; did more for this change than any single instruction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Turn the case into a class.&lt;/strong&gt; One player, one goal; the test protects all 36.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Short loops make players feel heard.&lt;/strong&gt; The player who wrote the review got an answer within the hour, and the fix shipped the same evening.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Dock Empire is on Google Play: &lt;a href="https://play.google.com/store/apps/details?id=ch.miamax.dockempire" rel="noopener noreferrer"&gt;https://play.google.com/store/apps/details?id=ch.miamax.dockempire&lt;/a&gt;. The first five levels are free, with no ads. And if a goal ever leaves you searching, there's a button for that now.&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>godot</category>
      <category>ai</category>
      <category>android</category>
    </item>
  </channel>
</rss>
