Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New SlackerBot parser was added, called Fruit Riddle #453

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

manrick
Copy link
Contributor

@manrick manrick commented Oct 28, 2024

My solution is a small game with the SlackerBot. If you write !fruit riddle, the following instruction is written back by the bot:

This is a simple game, where I think of a fruit, and you have to guess it. You can start the game with the command:
!fruit riddle start
To submit a guess, use the following command:
!fruit riddle abcd
If you know the answer, type:
!fruit riddle solution fruit
If you want to give up, use the message:
!fruit riddle exit

Copy link
Collaborator

@earlduque earlduque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, this is actually a super clever way to maintain persistence without having to write to a table anywhere. that's pretty awesome, I've tested it separately and besides the activation regex, everything seems to work as intended. More options would make it more interesting in the future though, I somehow got papaya 3 times in a row haha.

Parsers/FruitRiddle.js Outdated Show resolved Hide resolved
@earlduque earlduque self-assigned this Oct 28, 2024
@earlduque
Copy link
Collaborator

image
confirmed working otherwise!

@earlduque earlduque merged commit ba51ed0 into ServiceNowDevProgram:main Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants