[Google AI Studio Multimodal Challenge] Whispurr the ghost diner

This is a submission for the Google AI Studio Multimodal Challenge*

What I Built

I built “Whispurr: The Ghost Diner,” an interactive mini-game that leverages the multimodal capabilities of the Gemini API. The project aims to create a dynami…


This content originally appeared on DEV Community and was authored by cutieyunny-tech

This is a submission for the Google AI Studio Multimodal Challenge*

What I Built

I built "Whispurr: The Ghost Diner," an interactive mini-game that leverages the multimodal capabilities of the Gemini API. The project aims to create a dynamic narrative experience where the story changes based on the player's actions. The player controls a ghost that must navigate between different zones, with each zone triggering a unique AI response.

Demo

https://codepen.io/nad-Yunny/pen/wBKRxmW

How I Used Google AI Studio

I used Google AI Studio to interface with the Gemini API. I leveraged the API to act as the "brain" behind the game. Instead of using a static, pre-written script, Gemini generates narratives and hints in real-time. This allows the game to provide a unique experience each time it's played, highlighting the power of generative AI for dynamic content creation.

Multimodal Features

I implemented the multimodal capabilities of Gemini 2.5 Flash to create a richer user experience.

  • Text & Location-Based Narrative Understanding:
    • When the player enters the Playful Zone, the AI generates a cheerful and humorous narrative, sometimes including patient "customer" reactions.
    • When the player moves to the Dark Zone, the AI generates a scary narrative and mysterious whispers, completely changing the game's atmosphere. This demonstrates Gemini's ability to adapt tone and context based on user input.
  • Image Understanding for Hints:
    • In the Hint Zone, I demonstrate multimodal capability by sending both text and an image input to Gemini. While the image is a simulation, this process shows how the AI can "see" a visual input (e.g., "a key on a table") and generate a relevant narrative hint to help the player progress. This makes the interaction more meaningful and connected to the in-game visuals.


This content originally appeared on DEV Community and was authored by cutieyunny-tech


Print Share Comment Cite Upload Translate Updates
APA

cutieyunny-tech | Sciencx (2025-09-04T06:43:10+00:00) [Google AI Studio Multimodal Challenge] Whispurr the ghost diner. Retrieved from https://www.scien.cx/2025/09/04/google-ai-studio-multimodal-challenge-whispurr-the-ghost-diner/

MLA
" » [Google AI Studio Multimodal Challenge] Whispurr the ghost diner." cutieyunny-tech | Sciencx - Thursday September 4, 2025, https://www.scien.cx/2025/09/04/google-ai-studio-multimodal-challenge-whispurr-the-ghost-diner/
HARVARD
cutieyunny-tech | Sciencx Thursday September 4, 2025 » [Google AI Studio Multimodal Challenge] Whispurr the ghost diner., viewed ,<https://www.scien.cx/2025/09/04/google-ai-studio-multimodal-challenge-whispurr-the-ghost-diner/>
VANCOUVER
cutieyunny-tech | Sciencx - » [Google AI Studio Multimodal Challenge] Whispurr the ghost diner. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/09/04/google-ai-studio-multimodal-challenge-whispurr-the-ghost-diner/
CHICAGO
" » [Google AI Studio Multimodal Challenge] Whispurr the ghost diner." cutieyunny-tech | Sciencx - Accessed . https://www.scien.cx/2025/09/04/google-ai-studio-multimodal-challenge-whispurr-the-ghost-diner/
IEEE
" » [Google AI Studio Multimodal Challenge] Whispurr the ghost diner." cutieyunny-tech | Sciencx [Online]. Available: https://www.scien.cx/2025/09/04/google-ai-studio-multimodal-challenge-whispurr-the-ghost-diner/. [Accessed: ]
rf:citation
» [Google AI Studio Multimodal Challenge] Whispurr the ghost diner | cutieyunny-tech | Sciencx | https://www.scien.cx/2025/09/04/google-ai-studio-multimodal-challenge-whispurr-the-ghost-diner/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.