Hi Folks,i like to create a game in NodeJS via Express and a Raspberry Pi as Visual Output through a Chrom Browser on my TV. Recently i bought two Google Home Minis and i'd like to interact with commands in the game. And if something happens in the game i'd like also the Google Home Mini to respond to the audience.I tried to use this https://www.npmjs.com/package/actions-on-google package, but i have no clue how to get it running for my purpose.The easiest attempt for me, that i'd like to get work is by example:Say "Ok, Google Gamemode On" to turn Gamemode on Say "Ok, Google Gamemode Off" to turn Gamemode offAnd if the Gamemode is running i'd like to pass all the request starting with "Game Action...", like, "Game Action, Roll the dice", directly to my Raspberry Pi into the NodeJS so i can react to that String. Vice versa the Pi should be able in Game Mode to send out Speech to the Home Mini like, "Dice shows 5", but not as conversation answer, also as random interaction from that client. So randomly there will be a Bonus Round or something and then it should send out, "Welcome to the Bonus round, everybody ready?"Can anybody help me there somehow. Afterwords i will make a tutorial and post that online somewhere.Thanks in Advance
Submitted March 23, 2020 at 03:06PM by qranberry
No comments:
Post a Comment