Dec 1, 2026

AI Intervention

Play Intervention.

 As described in my previous blog post, I have been using the Playground AI agent to vibe-code the science fiction time travel game Intervention, which now includes four Time Travel Loop adventures. I've been thinking that it would be fun if during a played game, the Intervention game engine could generate a summary diagram, a kind of Time Travel Map, showing a game player's movements up and down the timeline of the six Eras in the game.

 Series. This blog post is Part 19 of a series of blog posts about how the game Intervention was built. Parts 1 - 18 of the series are here: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18.  

Tyhry, a robot and two aliens.
A simpler task would be illustrating the four Time Loops and the inter-connected game levels as they have been built into the game. I decided to start by handing this task to Gemini, but when I tried to use Gemini inside Firefox browser today, my computer started melting down. I took the task over to Gemini running under the Chrome browser where I got a request that I allow Gemini to provide notifications. I suppose we are all supposed to be giving AIs tasks to complete and then we can be notified when the AI has completed the task.

Figure 1. The AI-generated summary of the Time Loops.
I provided Gemini with the game code that generates the game Instruction Manual information that is shown in the image to the right. I asked Gemini to convert the game code into a plain English language copy of the displayed text. Here is the text that Gemini extracted from the game code:

Causal Time Loop Bonuses (Up to +45,000 PTS).
 - Dr. Vythoth Causal Time Loop: +10,000 PTS (once per run, in either order) for speaking with Dr. Vythoth in Level 1's future vision (via Ekcolir Reality "Message from the Future") AND clicking "Send message to the past" in Level 2's Dr. Vythoth Robotics Lab.

Robot, alien-human hybrid, alien.
 - Extended Casanay Basement Loop: +5,000 additional PTS (once per run) for asking Tyhry Watson "Ask Tyhry about her plans for college" in Level 1's Casanay basement after meeting Dr. Vythoth in Level 1 so your agent recommends studying robotics with Dr. Vythoth, combined with Level 2's "Send message to the past" (in either order).
 - Level 2 + Level 3 Manny the bumpha & Marda Replicoid Time Loop: +10,000 PTS (once per run, in either order) for asking Manny the bumpha "Can Tyhry travel through time?" in Level 2's Dr. Vythoth Robotics Lab AND clicking "Ask about her collaboration with Tyhry Watson and Elyrix" in Dr. Marda Onway's discourse inside Level 3's Tyhry's Robotics Laboratory (Project Klaudy).
Robot, Tyhry, alien.
 
- Level 1 + Level 4 Phari Time Loop (Hierion Domain & Pacific Deep Sieve): +10,000 PTS (once per run) for visiting "Meeting with the Phari" via Tyhry Watson's "Message from the Phari" in Level 1's Casanay Basement Workshop AND clicking "Ask about working alongside Tyhry Watson at Pacific Deep Sieve" inside Klaudy the Robot's Discourse in Level 4's Pacific Deep Hierozyme Research Laboratory.
 - Level 1 + Level 5 Great Hall, Zeta & Nyrtia Time Loop: +10,000 PTS (once per
Tyhry, an alien robot, an alien.
 
run) for speaking to Manny the bumpha in the Great Hall ("View the Great Hall"), clicking "Visions of the future" "Encourage Tyhry to study programming." with Zeta Gohrlay in Level 1, AND speaking to Nyrtia the pek in Level 5's Observer Base Time Vault Genetics Chamber where she confirms allowing Tyhry to discover her biological identity as a tryp'At.  

I then asked Gemini to generate a diagram illustrating the Causal Time Loops in the game. Gemini produced an image (see Figure 2, below) and added no additional commentary.

 Me: Generate a diagram that correctly illustrates the Causal Time Loops in the game that link together specific game characters in the five levels of the game.

Figure 2. Time Loops image generated by Gemini.


An alien, a robot and Tyhry.

 I'll say that Gemini gave it the "old college try" when making the Time Loop diagram shown above in Figure 2. I wondered if ChatGPT could do any better. I had previously started a chat session with ChatGPT in which the AI suggested some ideas for Time Loops that could be added to the game Intervention. I continued that old chat session and provided ChatGPT with the descriptions of the four Time Loops (see Figure 1, above).

 Me: My game "Intervention" now includes four Time Loops as described in the text file that I just uploaded. Generate a diagram that correctly illustrates the Causal Time Loops in the game that link together specific game characters in the five levels of the game.

Figure 3. Time Loops image generated by ChatGPT (version #1). See version #2 below in Figure 4.


 ChatGPT: The diagram above maps the four principal loops across Levels 1–5. One important qualification from your file: the Extended Casanay Basement Loop is a separate +5,000-point bonus attached to the Vythoth loop, bringing the total possible reward to +45,000 points. The generated diagram omits that bonus and places Zeta in the wrong level, so it should be treated as a visual draft rather than a fully accurate game reference. The exact connections are:
Robot and alien-human hybrid (blue face).
 
- B. Level 1 ↔ Level 2; +10,000 points.

 - Extended Casanay Basement. Level 1 ↔ Level 2; +5,000 additional points, after meeting Vythoth in Level 1.


 - Manny and Marda replicoid. Level 2 ↔ Level 3; +10,000 points.

Phari: Level 1 ↔ Level 4; +10,000 points.


 - Great Hall, Zeta and Nyrtia. Level 1 ↔ Level 5; +10,000 points. Zeta's conversation is in Level 1; Nyrtia's confirmation is in Level 5.



 Me: That AI-generated image is very pretty, but as a diagrammatic 

A robot gets a wig from Tyhry.
representation of the game's Time Loops, it has some serious problems. For example, the diagram seems to incorrectly label the "Manny the bumpha & Marda Replicoid Time Loop" as involving "level 2" and "level 2" rather than the correct levels: "level 2" and "level 3". However, I accept that AI-generated images can struggle with large amounts of text. I accept the AI-generated image "as a visual draft", but I wonder why it is that in commenting on the AI-generated image, 
A robot, Tyhry and an Alien.
you said, "The generated diagram ... places Zeta in the wrong level". The information provided in the uploaded text file ("Intervention Time Loops.rtf") included: "Zeta Gohrlay in Level 1". The AI-generated image shows Zeta in an image sub-frame that is labeled "Level 1 - Casanay". Explain to me what you meant by "The generated diagram ... places Zeta in the wrong level".

 ChatGPT: You're correct to challenge that statement. The mistake was mine: I failed to distinguish clearly between the two AI-generated diagrams. There were two versions:

Two aliens, Tyhry and a robot.
 1. The first diagram. Zeta Gohrlay appears in the Level 1 – Casanay sub-frame, alongside Tyhry and Manny. That is correct and consistent with your uploaded text.
 2. The second diagram. Zeta appears in the Level 5 – Pek Time Vault sub-frame, alongside Nyrtia. That is incorrect.

Your text is quite explicit; the Great Hall, Zeta and Nyrtia Time Loop requires the player to:
Robot, Tyhry and aliens.
 
- Speak to Manny in the Great Hall in Level 1.
 - Speak to Zeta Gohrlay in Level 1 and select the option to encourage Tyhry to study programming.
 - Speak to Nyrtia in the Level 5 Observer Base Time Vault Genetics Chamber.

Thus, Zeta belongs in Level 1, not Level 5. Nyrtia is the character whose participation occurs in Level 5. My comment was referring to the second diagram, but I should have identified that version explicitly. More importantly, I should have made clear that the first diagram got Zeta's placement right. Thank you for catching the inconsistency. In a diagram intended to document game mechanics, character placement is not a decorative detail; it is part of the factual representation of the game.

Figure 4. Time Loops image generated by ChatGPT (version #2). See version #1 above in Figure 3.


 Me: It is a good thing we discussed this, because initially I had completely failed to notice that TWO images had been generated. The second image is much better than the first, stemming from the fact that it is built around a linear left-to-right series of five sequential sub-frames that each illustrate characters from one of the 5 game levels.

 ChatGPT: I agree. The second image has a much stronger underlying visual organization. Its five sequential panels provide a useful structural framework:
1. Level 1 — Casanay (2026–2055)
2. Level 2 — Metropolitan Arcology (2055–2070)
3. Level 3 — Polar Quantum Vault (2070–2085)
4. Level 4 — Pacific Deep Sieve (2085–2100)
5. Level 5 — Pek Time Vault (2100–2125)

Robot, Tyhry and alien.
 The important design advantage is that the reader can first understand the game's chronology simply by scanning from left to right. The colored arrows and loop labels can then show how particular characters and events connect otherwise separated eras.

I would retain that five-panel architecture in a corrected version. I'd also make one improvement: use the panels exclusively to establish each level's characters and setting, and put the four loop descriptions in separate, clearly numbered bands above or below them. That would reduce the amount of text competing with the character illustrations and make the causal connections easier to follow.

 In other words, the second image is a good visual blueprint—even though its labels and some of its character placements still need correction.

 I moved on to see how Flow could do with this task. Here is the text prompt for Flow: "Generate a diagram that correctly illustrates the Causal Time Loop game play elements of my RPG game that link together specific game characters across the five levels of the game. Time Loop A. Level 1 and Level 2; the Dr. Vythoth Causal Time Loop. The game player speaks with Dr. Vythoth the alien Fru’wu in game Level 1 during a dream-like vision of the future that is made possible by information transmitted backwards through time. This Time Loop is completed by the game player clicking the game button, “Send message to the past”, while inside Dr. Vythoth Robotics Lab in game Level 2.

 Extended Casanay Basement Variation for Time Loop A. Still in game Level 1, after the dream-like vision of Dr. Vythoth from the future, and then later while speaking to the game’s main character Tyhry Watson (a young woman) inside Level 1's Casanay basement setting, if the game player clicks the game button, "Ask Tyhry about her plans for college" then the game player can recommend studying robotics with Dr. Vythoth. This explicit passing of Vythoth’s message to Tyhry increases the player’s game point bonus for this Time Loop.

Image by Leonardo.
 
Time Loop B. Level 2 and Level 3; the Manny the bumpha & Marda Replicoid Time Loop. Inside Level 2's Dr. Vythoth Robotics Lab, the game player asks Manny the alien bumpha: "Can Tyhry travel through time?" This Time Loop is completed inside Level 3's Tyhry's Robotics Laboratory (Project Klaudy) by the game player clicking the button: "Ask about her collaboration with Tyhry Watson and Elyrix" while speaking to Dr. Marda Onway, a researcher in Tyhry’s robotics laboratory.

 
Time Loop C. Level 1 and Level 4; the Phari Time Loop (Hierion Domain & Pacific Deep Sieve). While the game player is speaking to Tyhry Watson in Level 1's Casanay Basement Workshop, the game player clicks the button "Message from the Phari”. The game player is taken into the Hierion Domain for a meeting with the alien Phari and receives the Phari prediction of Tyhry’s future climate change mitigation research at Pacific Deep Sieve. In game level 5, while inside the Pacific Deep Hierozyme Research Laboratory and while speaking to Klaudy the Robot and clicking "Ask about working alongside Tyhry Watson at Pacific Deep Sieve" , the game player is met by a Phari who confirms verification of the prediction that was made in game level 2.

 
Time Loop D.  Level 1 and Level 5; the Great Hall, Zeta & Nyrtia Time Loop. While in game level 1, the game player speaks to Manny the bumpha while inside the Great Hall. Later, while speaking to Zeta Gohrlay inside the Casanay great room and by clicking the “button Visions of the future”, the game player can then click on the button "Encourage Tyhry to study programming." Zeta Gohrlay confirms that she will guide Tyhry’s interests towards programming, Later, when the game player is speaking to Nyrtia the alien pek in Level 5's Observer Base setting, Nyrtia confirms that during Tyhry’s life, Nyrtia allowed Manny the bumpa to help Tyhry to develop femtobot programming skills which allowed Tyhry to eventually discover her biological identity as a tryp'At, a genetically-engineered human variant with telepathic abilities." 

Figure 5. Time Loops image generated by Flow. This version was cleaned and modified by me.
 Of the four  Flow-generated Time Loop diagrams, the one shown above was the best. I had to modify some of the diagram's features to make the version shown above in Figure 5. The largest change I made was moving the level 4 text box into level 4; the AI had put it in level 5. I played around with the image in Figure 5, incorporating some of the AI-generated artwork from the game Intervention. The new resulting image is shown below in Figure 6.

Figure 6. Time Loops updated by me from Figure 5.

 Me. I tried uploading to Playground a 965 KB jpeg version of the image that is shown above in Figure 6, along with this text prompt:

 Me: Modify the game Instruction Manual to include at the end of the manual a diagram that illustrates the Causal Time Loop game play elements that link together specific game characters across the first five levels of the game.

 AI: Added the Causal Time Loop Gameplay Mechanics (Levels 1–5) diagram at the end of the Instruction Manual (src/components/CausalTimeLoopDiagram.tsx, src/components/InstructionsModal.tsx, and App.tsx).

 - Visual Structure Across Levels 1–5. Displays all five horizontal era bands (Level 1: Casanay, Level 2: Dr. Vythoth Robotics Lab, Level 3: Project Klaudy Robotics Laboratory, Level 4: Pacific Deep Sieve, and Level 5: Observer Base) with color-coded SVG causal conduits linking all four Causal Time Loops:
 - Time Loop A (Dr. Vythoth, Level 1 ↔ Level 2) including the extended Casanay Basement college-plans variation
 - Time Loop B (Manny the bumpha & Marda Replicoid, Level 2 ↔ Level 3)
 - Time Loop C (The Phari, Level 1 ↔ Level 4)
 - Time Loop D (Great Hall Manny, Zeta Gohrlay & Nyrtia the pek, Level 1 ↔ Level 5)
 - In-Game Character Portraits & Quick Navigation. Uses authentic character portraits and isolated frame-0 spritesheet thumbnails alongside exact in-game button names, plus a quick-jump link inside the manual. 

Figure 7. The Time Loops map by Playground that is now in the game's Instruction Manual.


The diagram of Time Loops that was made by Playground (Figure 7, above) takes a systematic approach by having the five game levels run vertically and the four Time Loops running horizontally.

Next: 

Images by Leonardo. Visit the Gallery of Movies, Book and Magazine Covers 

No comments:

Post a Comment