/skill-sample-python-highlowgame

The high low game is a game where the player tries to guess the target number between 1 to 100. After each incorrect guess, the player is informed if the target number is higher or lower than their current guess. This continues until the target number is guessed or the player gives up. This sample Alexa Skill is written in Python and demonstrates the use of session and persistent attributes.

Primary LanguagePythonOtherNOASSERTION

Build An Alexa High Low Game Skill using ASK Python SDK

This Alexa sample skill is a template for a basic high-low game skill. The high low game is a game where the player tries to guess the target number between 1 to 100. After each incorrect guess, the player is informed if the target number is higher or lower than their current guess. This continues until the target number is guessed or the player gives up. This sample Alexa Skill is written in Python and demonstrates the use of session and persistent attributes.

Voice User InterfaceLambda FunctionConnect VUI to CodeTestingCustomizationPublication

Let's Get Started

If this is your first time here, you're new to Alexa Skills Development, or you're looking for more detailed instructions, click the Get Started button below:

Be sure to take a look at the Additional Resources!

Usage

Alexa, open high low game
	>> ...Would you like to play?
Yes
	>> ...Guess a number...
Five
	>> Five is too low. Try saying a larger number.
...

Repository Contents

  • /lambda - Back-End Logic for the Alexa Skill hosted on AWS Lambda
  • /models - Voice User Interface and Language Specific Interaction Models
  • /instructions - Step-by-Step Instructions for Getting Started

Additional Resources

Community

Tutorials & Guides

  • Voice Design Guide - A great resource for learning conversational and voice user interface design.
  • CodeAcademy: Learn Alexa - Learn how to build an Alexa Skill from within your browser with this beginner friendly tutorial on CodeAcademy!

Documentation