Inspiration

During many of our summers, we would play the game Battleship , and we thought it would be fun to try to recreate the classic game for the Amazon Alexa

What it does

In this application, you can challenge Alexa to a game of Battleship. You can choose your own ships and alexa will randomly choose hers, and then you battle off. You tell Alexa what row and what column you want to fire at, and it'll tell you whether or not you've hit one of it's ships, then it'll try to hit one of your ships. This repeats until either side's ships are all sunken

How we built it

We used the Amazon Alexa API for python to help the code communicate with the Amazon Alexa. We first recreated the game in python, then when that was done, we imported it into the Alexa Developer interface, and changed it so instead of typing in your response, you would have to speak to Alexa to input your response, and the get a response back, you would have to make Alexa say it.

Accomplishments that I'm proud of and What we learned

MLH sent us Amazon Echos to use (thank you), and we have never programmed with Amazon Alexas before, so this was an opportunity for us to try to program something cool with it. We learned how to use the Amazon Alexa Developer interface, and we also learned how to use their API. The last thing we learned was how to use an Amazon Alexa in general.

What's next for BattleShip for Alexa

One thing we could do is add different difficulties or different game modes to make the application more interesting

Built With

Share this project:

Updates