On difficulty level 1 (default), you're listening out for a consecutively repeated letter. For example, if you heard "X, Y" as the initial setup, followed by "Y", you would say "Yes" because "Y" was repeated 1 letter ago. Otherwise, you would say "No."
You can say "Change the difficulty to 2" to increase the challenge.
For difficulty level 2, you're listening out for a repeated letter as it was heard 2 letters ago. For example, if you heard "X, Y, Z" as the initial board layout, followed by "Y", you would say "Yes" because it was repeated 2 letters ago. Otherwise, you would say "No."
The game is over after 15 N-Back challenges.
You can say "Exit" to leave the game.
The source code is available at: https://github.com/rtbz/alexa-n-back-game