Nov 29, 2026

Future Information

Figure 1. Inside the HySy
interstellar spaceship.
 In my previous blog post, I vibe-coded into the science fiction time travel game Intervention a third Time Travel Loop for the game player to complete. The downloaded Intervention project file is now 179.7 MB, most of which is image and music files, with about 2.3 MB of game code. I don't know if having that much game code is causing problems for the Playground AI agent. I'll describe the AI's game coding as "hit or miss", sometimes seeming quite bone-headed and other times surprising me by building good things into Intervention without having to be provided with hand-holding and detailed instructions.

This blog post is Part 18 of a series of blog posts about how the game Intervention was built. Parts 1 - 17 of the series are here: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17.  Here on this blog page, I first correct some of the bugs that the Playground AI agent built into the three Time Loops that are in the current version of Intervention. Then, further down this page, I turn to the task of adding Time Loop number four to the game.

Tyhry and the crew of  Hysy meets 
aliens on the exoplanet Koly.
 The first of the three existing Time Loops involves Vythoth the Fru'wu helping guide Tyhry to Vythoth's robotics research laboratory. Information from game Level 2 is sent back through Time to game Level 1. In Level 1, while the game player is using Eddy's Reality Viewer, a message arrives from Dr. Vythoth in the future via the Sedron Time Stream. If the game player then speaks to Tyhry in her basement workshop, a bonus of 5,000 points can be received by telling Tyhry about the message from Dr. Vythoth. This Time Loop is completed in game Level 2 by speaking to Dr. Vythoth inside his robotics research laboratory.

I wish the Playground AI agent could teach me how to speak the future language called 'iconese'.
Figure 2. Image by Flow.

  For the second of three Time Loops, the player must take action in both game Level 2 and game Level 3. In Level 2, the player first speaks to Tyhry and asks about how Manny is helping Tyhry build a conscious robot. Then Manny the bumpha appears and admits that it has been possible for a replicoid copy of the young Tyhry to be sent into the future time when Tyhry is running her own robotics research laboratory (Level 3). That Tyhry replicoid can note any problems and delays in developing Klaudy and information about these problems can be sent back through time to Tyhry (possibly with the help of a zeptozoan?), which helps to speed up the creation of Klaudy. The game player completes this Time Loop by speaking to Marda who works inside Tyhry's Level 3 robotics laboratory.

 The third Time Loop that is already in Intervention, requires game player actions in both Level 1 and Level 4. In Level 1, while speaking to Tyhry, the game player can receive a message from the Phari. The Phari predict that Tyhry will not attend college in Hawaii, but will eventually work with Klaudy to solve Earth's global warming problem. In game Level 4, the game player visits the Hierozyme Research Laboratory and speaks to Klaudy. A Phari then appears and confirms that with help from the game player, the Phari prediction of Tyhry's future has been confirmed. 

The original Time Loop code for Level 3 did not visually verify completion of the Time Loop and the 10,000 bonus points.
Corrected Time Loop confirmation notice.

  Me: Modify the game coding associated with game Level 3 and the completion of the Time Loop that links Level 2 and Level 3. In game Level 3, when the Time Loop has been completed, there needs to be a visual announcement that the 10,000 bonus points have been awarded to the game player for completing the Time Loop. Provide that announcement to the game player when the "Young Tyhry (Time-Traveling Replicoid)" pop-up speech window frame is opened. 

 AI: Updated Level 3's Tyhry's Robotics Laboratory (Project Klaudy) (TyhryLabModal.tsx, App.tsx, and Field Manual Entry #22 in src/data/manualEntries.tsx) so that whenever the Level 2 ↔ Level 3 Causal Time Loop is completed, opening the "Young Tyhry (Time-Traveling Replicoid)" pop-up speech window frame displays a prominent visual announcement confirming that the Time Loop is completed and +10,000 bonus points have been awarded (without obscuring Young Tyhry's portrait or dialogue). 

 Me: Check the code for game Level 2 for the pop-up window frame titled "Tyhry Watson's Discourse." If the button "Is Manny the bumpha helping you make a conscious robot?" is clicked, then the the pop-up window frame titled "Tyhry Watson's Discourse" closes. Next, the game asset "Future Visitor Sprite" appears in the bottom right hand corner of the game window "Dr. Vythoth's Robotics Research Laboratory" and automatically starts to walk. 

This response to the game player clicking the button "Is Manny the bumpha helping you make a conscious robot?" must be initiated independent of the order of clicking that button and the game player clicking of other buttons in the "Tyhry Watson's Discourse" pop-up speech window frame. Correct any code that might prevent "Future Visitor Sprite" from spawning if other buttons in the "Tyhry Watson's Discourse" pop-up speech window frame are clicked before the button "Is Manny the bumpha helping you make a conscious robot?" is clicked.

 AI: Fixed the button-order bug in Tyhry Watson's Discourse inside Level 2's Dr. Vythoth's Robotics Research Laboratory (VythothLabModal.tsx).
 - Order-Independent Option Handling. Refactored openTyhryDialogue so "Is Manny the bumpha helping you make a conscious robot?" always stays visible, enabled, and bound to Manny's entrance sequence regardless of which other buttons in Tyhry Watson's Discourse are clicked beforehand.
 - Reliable Spawn & Walk Sequence. Synchronized activeDialogueRef, blurred focused dialogue buttons, and restored lab container focus when triggering Manny's entrance so Future Visitor Sprite spawns in the bottom-right corner and begins walking immediately. 

Figure 3. Image by Flow.
 Time Loop Four. I want to add one more Time Loop to the game Intervention. In Level 5, Tyhry learns about the tryp'At and the fact that she has tryp'At gene patterns. I want to link what Tyhry learns about her own biological nature to a game feature that I have already built into Intervention, the Great Hall where the game player can speak to Manny the bumpha. In Level 5, while at Observer Base, Tyhry learns how to use programmable femtobots to alter the structure of her body and recover her biologically-encoded tryp'At phenotype. This complex programming of femtobots is only possible by information that is sent from Tyhry in Level 5 back through time to Level 1. During Level 1 game play, the game player must speak to Manny in the Great Hall and learn about the importance of Tyhry learning how to use her tryp'At telepathic ability to program femtobots. After speaking to Manny, the game player must speak to Zeta and tell her to encourage the young Tyhry to study programming. In Level 5, the game player completes this Time Loop by speaking to Nyrtia the pek who confirms that she has allowed Tyhry to discover her identity as a tryp'At.

Figure 4. Image by Flow.
The poster shown above in Figure 2 was generated by Flow using the image in Figure 1.  as a reference image. To get Flow to make the image shown in Figure 3, I used this text prompt: "A full color science fiction time travel movie poster for an imaginary 2027 film titled "Intervention" that shows the protagonist, a tall slender blond woman (Tyhry Watson), at two different ages. One of the two depictions of Tyhry is for when she is sixteen years old. The other depiction of Tyhry is when she is thirty years old. Also in the poster is the humanoid robot companion of the woman (the robot is named Klaudy). Also in the poster is a humanoid alien who has pink hair and pointed ears. In the film the humanoid alien provides Tyhry with advanced alien technology that helps Tyhry endow Klaudy the robot with human-like consciousness."

The image in Figure 3. was the only one of four simultaneously generated images that actually had a reasonably young depiction of Tyhry. For the image shown in Figure 4, I specified that the younger Tyhry's age was fifteen and then two of the four generated images has reasonably young depictions of Tyhry. Google's flow is definitely averse to generating images of anyone young. Out of 12 generated images, the one shown in Figure 4 was the only one that depicted the young Tyhry holding a book, as she was depicted in the reference image.

Image uploaded to Playground.
 Me: Modify the game code that is concerned with tracking when game Level 1 has been completed. Add a new requirement for completing game Level 1 which requires that the game player's tactical agent sprite speak to both Manny the bumpha and Zeta. To complete game Level 1, the game player must visit the game window titled "Great Hall" by clicking on the "View the Great Hall" button that is in the game window titled "Simulation: The Great Hall of the Olympians" and the player must speak to Manny the bumpha in the "Great Hall". After speaking to Manny the bumpha in the "Great Hall", the game player must speak to Zeta in the Casanay great room and tell her to encourage the young Tyhry to study programming. When the game player clicks on the button labeled "Visions of the Future" in the pop-up window frame for speaking to Zeta (see the
attached screenshot) and iff the game player has already spoken to Manny the bumpha in the Great Hall, then a new button appears just below the text representing what Zeta says about visions of the future. That new flashing button appears and it is labeled, "Encourage Tyhry to study programming." When the game button "Encourage Tyhry to study programming." is clicked by the game player, then a new Time Loop is initiated that links Level 1 to game Level 5 and this new requirement for completing game Level 1 is satisfied. In Level 5, the game player completes this Time Loop by speaking to Nyrtia the pek who confirms that she has allowed Tyhry to discover her biological identity as a tryp'At.

 AI: Added the new Level 1 completion requirement and the Level 1 ↔ Level 5 Time Loop with Nyrtia the pek (GreatHallViewModal.tsx, CasanayGreatRoomModal.tsx, TimeVaultModal.tsx, App.tsx, and src/data/manualEntries.tsx).
 - Great Hall Requirement. Speaking to Manny the bumpha inside the "Great Hall" window (opened via "View the Great Hall" in "Simulation: The Great Hall of the Olympians") unlocks the flashing "Encourage Tyhry to study programming." button directly beneath Zeta's vision text when clicking "Visions of the future" in Zeta Gohrlay's discourse.
 - Level 1 Completion & Level 1 ↔ Level 5 Time Loop. Clicking "Encourage Tyhry to study programming." satisfies the new Level 1 completion requirement (enforced in Level 1 gating and displayed in the Level 1 "Temporal Prerequisite Unmet" modal) and initiates the Level 1 ↔ Level 5 Time Loop, which completes in Level 5 when speaking to Nyrtia the pek as she confirms allowing Tyhry to discover her biological identity as a tryp'At (+10,000 bonus points). 

Updated requirements for completing game Level 1.
Tyhry meeting aliens.
 Me. During that previous edit (above) I had already started to compose instructions to the Playground AI agent for a follow-up edit specifying how to complete the Time Loop linking game Level 1 to game Level 5. However, as shown below, the AI had already done all of the rquired coding to complete the Time Loop and had even created an entry in the game's Instruction Manual for this Time Loop. The AI even correctly awarded 10,000 bonus points for completion of the L1 - L5 Time Loop without waiting for me to tell it to do so.

Instructions for the Time Loop that links Level 1 to Level 5.

 
Notice of completion of the L1 to L5 Time Loop.

The pop-up reminder to game players about visiting the Observer Base Time Vault. Why two Tyhrys?


 Me. Having completed time travel adventures for game Levels 1 to 5, I am satisfied to leave Level 6 as being primarily concerned with space travel. 

Now, with the the basic structure of the game having been built over the course of 17 days, I'm left feeling only the desire to repair a few more of the most glaring problems in the game's design. 

As far as playing the game itself, with all of the Time Loop bonus points, it is not hard to score close to 100,000 points while playing the game (see the image below).

Figure 5. The new spawn location for the Avid Reader.
 Me: In the Level 1 game window for the 1989 Bookstore, change the spawn location for the Avid Reader sprite. Change the spawn position so that it is only 90% of the current distance from the left edge of the game window.

 AI: Updated the Avid Reader sprite spawn position in Level 1's Simulation of a 1989 Bookstore (BookstoreSimulationModal.tsx) from x = 520 to x = 468 (90% of its previous distance from the left edge, while preserving y = 462).

The updated build passed TypeScript and QA verification and has been published. Would you like to test the updated Avid Reader spawn position or make any other adjustments to Intervention? 

Image uploaded to Playground.
 Me. I never understood why there was a rectangular background element in the tactical agent sprite's pose while not walking (see Figure 5, above). 

  Me: Modify the game player's tactical agent sprite to remove the rectangular background element that is marked by red diagonal lines in the attached image.

Figure 6.  Corrected tactical agent.
 AI: Updated the player's Tactical Agent Terminal Pose (agent_terminal_pose, assets/images/agent_terminal_pose.png) to remove the rectangular backdrop element and re-integrated its updated 341x892 aspect ratio across the game (constants.ts, src/constants.ts, App.tsx). 

 Me. I've never been happy with the positioning of Dr. Vance for the book signing (see Figure 6, above). However, some of the features of the game are quirky and I don't want to yank all of the weirdness out of Intervention.

Next: AI-generated maps of Time Loops in the game Intervention. 

No comments:

Post a Comment