Code Monkey home page Code Monkey logo

slack-uno's Introduction

Uno for Slack

Some say Slack is a communication tool, but I say it's a gaming platform.

Uno for Slack is fully functional! Feel free to report issues over here.

Hosting it yourself

You can host Uno for Slack yourself using the provided prod.Dockerfile. Alternatively, you may run the app yourself with dart bin/main.dart (requires a Dart SDK installation)

You'll also need a persistent Redis database.

Environment variables

PORT (the port to run the app on)

SLACK_TOKEN (your Slack bot token)
SLACK_SIGNING_SECRET (your Slack app's signing secret)

REDIS_URL (a Redis url, e.g. redis://localhost:6379)

Creating the Slack app

Head on over to https://api.slack.com/apps and register an app.

Scopes

Slack for Uno requires the following scopes:

chat:write
chat:write.public

Events

Subscribe to the app_home_opened event, then set the URL to <your app>/slack/events

Interactivity

Enable interactivity, then set the URL to <your app>/slack/interactivity

Missing Features:

  • Wild/Draw 2 cards
  • Leave Game button

Image rendering is handled by a separate repo, https://github.com/cjdenio/slack-uno-renderer

๐Ÿ‘ฅ Contributors

slack-uno's People

Contributors

actions-user avatar cjdenio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

slmnmls

slack-uno's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.