Skip to content

A Slackbot for playing Scott Adams text adventure games

Notifications You must be signed in to change notification settings

drewish/scottbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scottbot

Play a Scott Adams style adventure game via Slack. Scottbot uses the awesome Scottkit gem to play the games.

Installation

Assuming you've got Ruby 2.0+ and Bundler installed all you need to do is:

git clone https://github.com/drewish/scottbot.git
cd scottbot
bundle install

Usage

Create a new bot configuration and make a note of the API Token.

This library includes a dummy game.sao file but you'll probably want to replace it with something else.

Set the API Token in the SLACK_API_TOKEN environment variable and start up the app:

SLACK_API_TOKEN=xoxb-XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX ./scottbot.rb

It will connect to your team and then you can send the bot a direct message to play.

About

A Slackbot for playing Scott Adams text adventure games

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages