Playing Space Invaders With Your Own Voice
▻https://hackernoon.com/playing-space-invaders-with-your-own-voice-f0bc7581e9bc?source=rss----3a
Photo by Andre HunterAfter some time testing voice #games in my Alexa device, one question came to my mind…Why not try to convert a classic game control system to a Voice User Inteface?So let’s do a simple experiment with a Space Invaders written in #javascript.Final result (Kind of)After some walkarounds I made a requirement list in order to reach my target:Speech RecognitionSpeech SynthesisAn NLU or set of hardcode rules to match my utterances to intentsImplementation of the web reactions to these intentsWell, once I had more or less clear what I was looking for, I use the second engineer lesson: don’t reinvent the wheel. So, once again I whispered something to Google and it led me to something called Woice.Once I went through the tutorial for creating a new application, I charged the SDK (...)
#ai #voice-assistant #ux