Jo Jaquinta
Published © Apache-2.0

Sub War

Dodge torpedoes as you hunt submarines in this multi-player interactive game for Alexa.

AdvancedProtip16 hours1,414

Things used in this project

Hardware components

Amazon Echo
Amazon Alexa Amazon Echo
×1

Software apps and online services

AWS Lambda
Amazon Web Services AWS Lambda
AWS DynamoDB
Amazon Web Services AWS DynamoDB
AWS S3
Amazon Web Services AWS S3
AWS EC2
Amazon Web Services AWS EC2

Story

Read more

Custom parts and enclosures

Conversation Design Documents

Visual design is on of minor benefit when creating an audio app. The process we used relies on creating libraries of sample conversations. Those conversations, and the methods we have used for turning them into code, is documented in the project wiki.

Architectural Design

The project was deployed separating the Game, Audio, and Alexa logic into strict layers. The importance of those layers, the architecture for them, and the design patterns used in their development is documented in the project wiki.

Testing Strategy

Production code cannot be delivered without comprehensive testing. The product wiki documents how the layering strategy makes it easy to do rigorous testing. All of the unit tests developed for the project are also checked into the source code repository.

Schematics

First time launch, flow diagram

When the skill is launched for the first time, here are the possible branches for the user experience. The primary goal here is to provide basic instruction and get them to the game as quickly as possible.
Launch1

Second time launch, pick a name

After the user has played the game a few times, it is time to start introducing them to customization. We alter the start-up conversation to take a different flow. This time we invite them to pick a name for themselves. Afterwards the narrator will address them by name.
Launch2

Third time launch, pick your ship's name

A few launches after they have picked a personal name, we introduce them to the last element of customization: picking a ship's name.
Launch3

Code

SubWar - for the Amazon Echo

This is the working repository for the SubWar game for Alexa. It contains the source code for the game, two suites of unit tests, the generated Javadoc, and full design documentation.

Credits

Jo Jaquinta

Jo Jaquinta

1 project • 3 followers
Entrepreneurial Alexa developer. Amongst other things.

Comments

Add projectSign up / Login