Skip to content

Template Code for TOC Project 2020

Notifications You must be signed in to change notification settings

oucs638/TOC-Project-2020

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocktail Recommend Line Chat Bot

A line chat bot based on a finite state machine, and can recommend cocktail.

Finite State Machine

image

Usage

Stage 0

  • The initial state is user.
  • The next state would be base, flavor or random.

Stage 1

  • If enter "base", will enter base state:
    • The next state would be base0, base1, base2, base3, base4, base5.
  • If enter "flavor", will enter flavor state:
    • The next state would be flavor00, flavor01, flavor02, flavor03, flavor04, flavor05, flavor06, flavor07, flavor08, flavor09, flavor10, flavor11, flavor12
  • If enter "random", will enter random state:
    • This state would recommend random three cocktails.

Stage 2

  • In base state, you can choose one from six bases
  • In flavor state, you can choose one from thirteen flavor

Stage 3

  • According choice from above stages, line bot will recommend cocktails.

About

Template Code for TOC Project 2020

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%