Kể từ ngày 13 tháng 6 năm 2023, Hành động trò chuyện không còn được dùng nữa. Để biết thêm thông tin, hãy xem phần Hành động trò chuyện ngừng hoạt động.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Để truyền cảm hứng và giúp bạn xây dựng một trò chơi tuyệt vời cho Trợ lý Google, bạn có thể học hỏi từ hành trình phát triển của các trò chơi được xây dựng cho màn hình thông minh: Cookie Detective, Gnome Garden, Mime Jam và Mad Libs. Các phần sau đây mô tả lối chơi và cung cấp tài nguyên để bạn tìm hiểu các mẹo và thủ thuật phát triển.
Trình phát hiện cookie
Trong Cookie Detective, người chơi cố gắng tìm một chiếc bánh quy ẩn trong bếp bằng cách đặt các câu hỏi, chẳng hạn như "Có phải ở đâu đó màu vàng?" hoặc "Có phải ở đâu đó cao không?".
Người chơi sẽ chiến thắng nếu họ phát hiện ra vị trí ẩn của cookie trong tối đa 10 câu hỏi. Cookie Detective có 3 nhà bếp khác nhau với nhiều cấp độ khó, vì vậy, người chơi có thể tiếp tục thử thách bản thân trong môi trường mới sau khi vượt qua một cấp độ.
Hình 1. Hình ảnh về lối chơi của Cookie Detective.
Cookie Detective khám phá ý tưởng cho trò chơi phù hợp với trẻ em và các trường hợp sử dụng được tối ưu hoá cho những vị trí hiển thị thông minh phổ biến trong nhà. Android Studio cũng hỗ trợ cả chế độ một người chơi và chế độ nhiều người chơi.
Hãy xem các tài nguyên sau để học hỏi từ quá trình thiết kế và tìm ý tưởng cho trò chơi của riêng bạn mà phù hợp với trẻ em:
Gnome Garden có một người dẫn chương trình độc đáo là Gnorman. Anh đặt ra cho người chơi một loạt câu hỏi và sử dụng câu trả lời của họ để trồng cây trong khu vườn. Gnorman có thể hỏi: "Bạn thà đi dạo trên đám mây hay cồn cát?. Nếu trả lời bằng "cloud", thì Gnorman
thêm rêu cho khu vườn của bạn và trả lời: "Bạn có biết cảm giác như đi trên đám mây không?
Rêu rêu! Và tôi đã trồng một vài cây trên con đường này." Tiếp đến, khu vườn rợp bóng cây
rêu xanh tươi sáng.
Hình 2. Khu vườn đã hoàn thành một phần trong Vườn Gnome.
Gnome Garden khám phá kiểu chơi trò chơi thử nghiệm mới, mang lại
môi trường xung quanh các màn hình thông minh trong nhà.
Hãy xem các tài nguyên sau đây để học hỏi từ quá trình thiết kế và tìm ý tưởng nhằm tạo ra trải nghiệm môi trường xung quanh độc đáo của riêng bạn:
Trong Mime Jam, người chơi diễn ra các từ và cụm từ xuất hiện trên màn hình và các thành viên trong nhóm sẽ cố gắng đoán từ hoặc cụm từ chính xác. Đội nào đoán được câu trả lời đúng nhất trong suốt trò chơi sẽ chiến thắng. Mime Jam có một công nghệ mới Chế độ so khớp liên tục. Công nghệ này cho phép micrô luôn bật trong một khoảng thời gian dài để chơi trò chơi lâu hơn.
Hình 3. Màn hình tải cho Mime Jam.
Mime Jam khám phá các ý tưởng để tạo trò chơi nhóm nhiều người chơi thông qua Trợ lý Google trong vai trò là người tổ chức trò chơi.
Hãy xem các tài nguyên sau để tìm hiểu từ quy trình thiết kế và lấy ý tưởng cho trò chơi trong bữa tiệc của riêng bạn:
Mad Libs hiển thị ý tưởng về các từ để đưa vào câu chuyện trên màn hình, và người chơi có thể dùng các từ gợi ý hoặc chèn từ của riêng họ. Một người đọc sẽ hướng dẫn người chơi xuyên suốt trò chơi và vào cuối trò chơi, hãy đọc to câu chuyện mới tạo.
Hình 4. Trải nghiệm chơi trò chơi Mad Libs trên màn hình thông minh.
Hãy xem các tài nguyên sau để tìm hiểu thêm về Mad Libs:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThis page showcases four Google Assistant games (Cookie Detective, Gnome Garden, Mime Jam, and Mad Libs) designed for smart displays, highlighting their gameplay and development journeys.\u003c/p\u003e\n"],["\u003cp\u003eThese games offer diverse experiences, including kid-friendly puzzle solving, ambient storytelling, multiplayer party games, and interactive storytelling.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access case studies, source code, and developer interviews to learn from the design process and gain inspiration for their own Google Assistant games.\u003c/p\u003e\n"],["\u003cp\u003eThe games explore various features of Google Assistant, such as Continuous Match Mode for extended gameplay and optimization for smart display interactions.\u003c/p\u003e\n"],["\u003cp\u003eBy studying these examples, developers can build engaging and innovative games for Google Assistant, catering to different player preferences and utilizing the platform's capabilities.\u003c/p\u003e\n"]]],[],null,["# Case studies and code samples\n\nTo inspire you and help you build a great game for Google Assistant,\nyou can learn from the development journeys of these games built for smart\ndisplays: Cookie Detective, Gnome Garden, Mime Jam, and Mad Libs. The following\nsections describe the gameplay and provide resources for you to\nlearn development tips and tricks.\n\nCookie Detective\n----------------\n\nIn Cookie Detective, players attempt to find a cookie hidden in a kitchen by\nasking questions, like *\"Is it somewhere yellow?\"* or *\"Is it somewhere high?\"*.\nThe player wins if they can discover the cookie's hiding place in 10 questions or\nless. Cookie Detective features three different kitchens with various difficulty\nlevels, so players can continue to challenge themselves in new environments\nafter beating a level.\n**Figure 1**. An image of Cookie Detective gameplay.\n\nCookie Detective explores ideas for kid-friendly games and use cases optimized for\npopular smart display locations in the home. It also supports both single and\nmultiplayer modes.\n\nCheck out the following resources to learn from the design process and get ideas\nfor your own kid-friendly game:\n\n- [Case study](https://www.mediamonks.com/blog/2020/10/how-mediamonks-leveled-up-its-gaming-creds-with-voice)\n- [Source code](https://github.com/actions-on-google-labs/cookie-detective-game-nodejs)\n- [Developer interview](https://youtu.be/GPBImsQM-OA)\n- [Play Cookie Detective](https://assistant.google.com/services/a/uid/00000099ed26bbda)\n\nGnome Garden\n------------\n\nGnome Garden features a quirky host, Gnorman, who asks players a series of questions\nand uses their responses to grow plants in a garden. Gnorman may ask, *\"Would you\nrather stroll on a cloud or a sand dune?\"* . If you reply with *\"cloud\"* , Gnorman\nadds moss to your garden, replying, *\"You know what feels like walking on a cloud?\nMoss! And I've planted some on this path.\"* The garden then populates with rows\nof bright green moss.\n**Figure 2**. A partially completed garden in Gnome Garden.\n\nGnome Garden explores a new, experimental type of gameplay, offered by the\nambient nature of smart displays in the home.\n\nCheck out the following resources to learn from the design process and get ideas\nto create your own unique, ambient experiences:\n\n- [Case study](https://www.b-reel.com/work/google-assistant-games)\n- [Source code](https://github.com/actions-on-google-labs/gnome-garden-game-nodejs)\n- [Designer interview](https://youtu.be/P3-Btcdwzbs)\n- [Play Gnome Garden](https://assistant.google.com/services/a/uid/000000a633941f7b)\n\nMime Jam\n--------\n\nIn Mime Jam, players act out words and phrases that appear on-screen, and their\nteammates try to guess the correct word or phrase. Whichever team guesses the\nmost correct answers throughout the game wins. Mime Jam features a new technology,\n[Continuous Match Mode](/assistant/games/tech-access), which allows the microphone\nto remain open for an extended time for longer gameplay.\n**Figure 3**. The loading screen for Mime Jam.\n\nMime Jam explores ideas for creating multiplayer party games with Google Assistant\nas the game host.\n\nCheck out the following resources to learn from the design process and get ideas\nfor your own party game:\n\n- [Case study](https://www.b-reel.com/work/google-assistant-games)\n- [Developer interview](https://youtu.be/FsQTL3CGV4s)\n- [Play Mime Jam](https://assistant.google.com/services/a/uid/0000001b302f9070)\n\nMad Libs\n--------\n\nMad Libs displays ideas for words to include in stories on-screen, and players\ncan either use the suggested words or insert their own words. A narrator guides\nplayers through the game, and, at the end of the game, reads the newly crafted\nstory aloud.\n**Figure 4**. The Mad Libs gaming experience on a smart display.\n\nCheck out the following resources to learn more about Mad Libs:\n\n- [Case study](https://developers.google.com/assistant/downloads/mad-libs-casestudy.pdf)\n- [Play Mad Libs](https://assistant.google.com/services/a/uid/0000001e90753a94)"]]