Watch, soon we'll see articles about how "Slack built a platform..." and how the next big things are games for slack /s
Or how Slack, like Facebook gets banned at many workplaces.
Slack Poker Bot
61–70 of 100 posts
Re: Slack Poker Bot
#62Re: Slack Poker Bot
#63As a new dev: How do I get npm install to run? I'm on step 4 of the instructions.
Run "npm install" in the folder directory where the package.json is visible. In this case, if you cloned or extracted this project, it would be in the slack-poker-bot folder.
Hope that helps!
Re: Slack Poker Bot
#64As a new dev: How do I get npm install to run? I'm on step 4 of the instructions.
Re: Slack Poker Bot
#65As a new dev: How do I get npm install to run? I'm on step 4 of the instructions.
Make sure you have node and npm installed on your machine. (You can check by running "npm -v" from the command line, if you don't see anything, then take a quick google search on how to install it). Run "npm install" in the folder directory where the package.json is visible. In this case, if you cloned or extracted this project, it would be in the slack-poker-bot folder. Hope that helps!
Re: Slack Poker Bot
#66Re: Slack Poker Bot
#67Earlier quoted context omitted.
Thanks for spotting that! Fixed here: https://github.com/CharlieHess/slack-poker-bot/commit/332f39...
Since you already have the card images, any chance of having it deal actual card images versus the abbreviated format? I can look into doing this myself and submitting a PR after I get home, as well.
Re: Slack Poker Bot
#68Earlier quoted context omitted.
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.
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'.
Re: Slack Poker Bot
#69The 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…
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
Re: Slack Poker Bot
#70Earlier 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'.
So you couldn't play a game like Hold 'em that requires a small and big blind? Or anything requiring pre-deal antes?
The only reason to make a bet is because of the antes, otherwise you will only play AA, as should everyone else.