📺
YouTube · Google Cloud Tech
16 YouTube-Aufrufe
Launch a web-based video game with Google AI Studio.
🎮 Welcome back to the third installment of the AI Builder series. In this video, Luke takes things a step further by launching a live, web-based, turn-based video game using Google AI Studio and Google Cloud.
1. Building on the previous tutorials where we launched a portfolio site and a to-do application, this lab introduces more advanced concepts to help you create your own sharable multiplayer games.
2.*What you'll learn in this video:*
* *Event sourcing explained:* Learn how event sourcing works by saving a complete history of game actions rather than overwriting database states. This allows for advanced features like replaying and undoing moves.
3. *Building a tic-tac-toe game:
Luke walks through setting up a turn-based game using simple algorithms like Minmax for single-player mode.
4. *Handling database permissions:* See a real-time example of troubleshooting Firestore "missing or insufficient permissions" errors using the Google AI Studio "fix" feature.
5. *Deploying to Cloud Run:* Publish the game to a live .ai.studio domain and test its functionality across devices.
7. *Real-time multiplayer:* Experience how Firestore automatically handles synchronization so two players can compete in real time from anywhere in the world.
8. *Debugging production bugs:* Learn how to catch, copy, and feed production bugs directly back into Google AI Studio for quick debugging and republication.
9. *Inspecting the Firebase console:* Look under the hood at how game events are structured and stored chronologically in your database collections.
10. *Prerequisites:* Before getting started, make sure a Google Cloud project with billing is attached. (Note: This app relies on local logic and does not make calls to LLMs).
11. Ready to build your own custom game? Customize the code to create chess, your own original turn-based game, or stick to classic tic-tac-toe!
12. Don't forget to visit the link at the end of the lab to claim your completed builder's badge.
13. If you enjoyed this tutorial, please like, subscribe, and happy building! 🚀
Watch more AI Builders → https://g.dev/cloud/builders-lab
🔔 Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech
Speaker: Luke Schlangen
Products Mentioned: Google AI Studio, Firebase, Firestore, Cloud Run
Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf youtube.com.
SOCIAL SHARE CARD GENERATOR