Skip to content

Instantly share code, notes, and snippets.

@rodrigosetti
Last active February 9, 2017 23:43
Show Gist options
  • Save rodrigosetti/724982dca821040148159a219c1b163b to your computer and use it in GitHub Desktop.
Save rodrigosetti/724982dca821040148159a219c1b163b to your computer and use it in GitHub Desktop.
;
; Bot: Vegas
; Scenario: Multi-Player end quiz special cases
;
(set-bot 131)
(set-mention true)
(join alice)
(join bob)
(define trivia_lounge_msg "Let's play trivia!")
(define pick_category_msg "Pick a trivia category")
(define challenges_msg #rx"challenges you to")
(define feedback_greet_msg #rx"Give it to me straight")
(define feedback_tell_me_more_msg #rx"tell me a little more")
(define thank_you_for_feedback_msg #rx"Thank you")
; User 1 (alice) onboard:
(alice "")
(expect-card vegas_group_onboarding)
(expect-msg trivia_lounge_msg [#rx"Play" #rx"Rankings" #rx"Feedback" #rx"Help"])
(alice 1)
(expect-msg pick_category_msg)
(bob "Video Games")
(expect-msg #rx"bob challenges you to Video Games trivia")
; 50% chance
(when (flip)
(join cat)
(alice 2)
(expect-msg pick_category_msg)
(alice "Celebs")
(expect-msg #rx"alice challenges you to Celebs trivia")
(bob 1) ; play
(cat 1)) ; play
(expect-card game_about_to_start)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment