Live data from Hacker News

Slack Poker Bot

github.com

11–20 of 100 posts

Re: Slack Poker Bot

#12
Watch, soon we'll see articles about how "Slack built a platform..." and how the next big things are games for slack /s

Re: Slack Poker Bot

#14
This is pretty awesome though. I got a list of games I want to make for our Python bot.

Number guess, blackjack, this, now maybe battleship...

Re: Slack Poker Bot

#16
post #4

The attention to detail in spec output is exemplary. Uploading to Imgur for displaying card images to users seems like a strange choice, though. Why not have the bot serve its own images up over HTTP and attach URLs to itself? I could even imagine a badges.io style image preparation microservice that could be shared by several playing-card based bot apps.

Possibly because running a bot client is much different from running a webserver. Dialing outbound to connect to slack is much easier than figuring out or configuring your own canonical URL, opening ports, etc. On the other hand, preparing hands as a single image seems a bad way of doing this; Does the slack API only allow a single image per conversation? I agree with your preparation microservice idea - There should…

    >  preparing hands as a single image seems a bad way of doing this
I don't believe there's another way to display them inline?

Re: Slack Poker Bot

#18
The title confused me for a minute. In IRC chat circles, "bot" means a persistent software entity running in the channel, performing some task. In online poker circles, "bot" means software that automatically plays for you.

Re: Slack Poker Bot

#19
post #17

Feature request: zenpayroll integration

is there a way to spin it so it'll be legal in the US?

It varies by state, but home poker games often aren't expressly illegal. The illegal aspect is often profiting off of running the poker game. As long as you don't implement a rake into the system and you are paying out the entire pot, you are probably good from a legal perspective although IANAL.
Post reply on HN