Live data from Hacker News

Slack Poker Bot

github.com

71–80 of 100 posts

Re: Slack Poker Bot

#71
post #56

Earlier quoted context omitted.

> I can pick and choose my hours, work when other guys are off, and still see all the comms that happened while I wasn't at my machine. I'm sure are features IRC cannot duplicate, but all that's necessary for that is a bouncer.

Right. Think of Slack as a really well configured IRC server, except you don't have to manage it at all, and it's front-end UI is much more modern (and better); integrated file uploading, inline media, integrations with everything under the sun, etc. None of it is impossible in IRC, it's just _easier_ in Slack because it's out of the box like that. And, most importantly: I don't have to manage the damned server ;)

Are there open source/open protocols for something like Slack? Rich IRC?

Re: Slack Poker Bot

#72

Earlier quoted context omitted.

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…

Are images even necessary, anyway? Unicode has playing card codepoints (the full 52) and playing card house codepoints (️, ️, ️, ️). Edit: What the hell? Hacker News stripped the Unicode characters?! https://news.ycombinator.com/item?id=10156894

You can't control the font rendering in Slack (it's Lato, at a certain size). The Unicode cards are far too small to read.

Re: Slack Poker Bot

#74
post #25

Earlier quoted context omitted.

I have never used slack. How is it different than IRC?

Just a way better interface on it. Searchable history, multiple rooms inside rooms effectively. File sharing, lots of niceties that are probably possible in IRC but would take a lot of work. It has changed the way our team communicates, for me I am the only remote guy on a team of 6ish devs. I can pick and choose my hours, work when other guys are off, and still see all the comms that happened while I wasn't at my ma…

And Slack removed the "daily network split" feature that IRC uses, deciding it was a bad choice going forward.

Re: Slack Poker Bot

#75
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.

Clearly the author is able to watch imgurl access logs... (or does imgurl list number of views for images? With good enough timing, that might be enough...)... ;-)

Re: Slack Poker Bot

#76

Earlier quoted context omitted.

Are images even necessary, anyway? Unicode has playing card codepoints (the full 52) and playing card house codepoints (️, ️, ️, ️). Edit: What the hell? Hacker News stripped the Unicode characters?! https://news.ycombinator.com/item?id=10156894

You can't control the font rendering in Slack (it's Lato, at a certain size). The Unicode cards are far too small to read.

I did think of that. But you could use the symbols for the houses and pair them with a number/letter.

Re: Slack Poker Bot

#77
post #25

Earlier quoted context omitted.

I have never used slack. How is it different than IRC?

Just a way better interface on it. Searchable history, multiple rooms inside rooms effectively. File sharing, lots of niceties that are probably possible in IRC but would take a lot of work. It has changed the way our team communicates, for me I am the only remote guy on a team of 6ish devs. I can pick and choose my hours, work when other guys are off, and still see all the comms that happened while I wasn't at my ma…

I love everything about Slack except the damn chat window. Oh, and the pricing. The onboarding process is buttery smooth, and there are tons of integrations. But there's so little in the way of communication density (even in 'compact mode') that I miss IRC.

We have a jira integration set up and every ticket consumes five lines plus plenty of whitespace - a few of those and there's no real comms visible on the page. Every integration I've see consumes gobs of space. Similarly, flagging announcements by assigning a colour is almost worthless - the colour bar isn't very visible (I prefer hipchat's method, where the entire chatline gets the background colour set). Then there's the problem of people's actual chat messages being the least visible thing on the page - smaller and less noticable than names, integration notifications, what have you. But the onboarding is so easy, it just sucks users up.

Being able to see a conversation instead of bells and whistles? I miss that... but plain text scares regular users...

Re: Slack Poker Bot

#78
post #19
post #17

Earlier quoted context omitted.

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.

This is the case in California, which will cover many of the people that would use this. As long as there is no rake, the game is legal. If you'd like to see the law in your state, see:

http://www.homepokergames.com/homepokerlaw.php

Re: Slack Poker Bot

#79
post #39

Earlier quoted context omitted.

When I played poker at MSFT in WA state, another rule was that you couldn't bet truly blind. You had to at least look at your cards. To see your cards and bet was a 'game of skill', to not was 'gambling'.

That's what gives away the tell... I'd say reading people is probably the more relevant skill than counting odds...

No, that's not how poker is played, it really is about counting odds and evaluating the possible plays. Unless you were kidding of course and I'm far to sleepy again.
Post reply on HN