Skip to content

Demo of using Bot Framework v4 to build a classic 8-bit adventure game

Notifications You must be signed in to change notification settings

broomerr/GameATron4000

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to Azure

Prerequisites

To use these tools from the command line, you will need Node.js installed to your machine:

1. Install tools

You can now manage bots using Azure CLI like any other Azure resource.

Login to Azure CLI by running the following command:

az login

2. Create a new bot from Azure CLI

You can use Azure CLI to create new bots entirely from the command line.

First create a resource group using the following command:

az group create \
    --name TestGameATron4000 \
    --location westus

Use this newly created Resource Group as the default group in any subsequent commands so we don't have to type it in each time. Tell the CLI that we want everything stored in the West US data center too.

az configure --defaults \
    group=TestGameATron4000 \
    location=westus

The bot itself will be hosted on a Linux App Service Plan as that makes it possible to host the bot code in a container. To connect the bot to various channels, register the bot with the Bot Service by creating a Bot Channels Registration.

To secure the connection between the Bot Service and the bot, register an application with Azure AD to get a Microsoft App Id and password:

az ad app create --display-name GameATron4000 \
    --identifier-uris uri:gameatron4000
    --password <ChooseAnAppPassword>

After the command has completed, the output JSON will contain an appId element with the Microsoft App Id.

TODO

About

Demo of using Bot Framework v4 to build a classic 8-bit adventure game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 66.7%
  • TypeScript 30.5%
  • JavaScript 1.1%
  • Other 1.7%