News for hackers. Stuff that matters.
Re:Show HN: A Werewolf bot for Slack by anonfunction on Sunday December 20, 2015 @04:47PM (#10768407)
I've never heard of this game, maybe a description or link to a wikipedia page[1] in the readme would be good.

1. https://en.wikipedia.org/wiki/Mafia_(party_game)

Re:Show HN: A Werewolf bot for Slack by jschulenklopper on Monday December 21, 2015 @12:21AM (#10769702)
And there is this great story in Wired on the history and popularity of this game, especially at tech conferences: http://www.wired.co.uk/magazine/archive/2010/03/features/wer...
Re:Show HN: A Werewolf bot for Slack by waterhouse on Monday December 21, 2015 @02:35AM (#10770050)
Once I attended a math olympiad training camp, and was told a story explaining why we were not allowed to play "Mafia":

The previous year, students had arranged a real-time version of the game, so that, each night, the mafia would vote and eventually someone would go knock on the victim's door. At some point, a maid found a piece of paper in someone's dorm, listing a "God", the names of people who had been "killed", who was to be killed that night, etc. The police were called.

The matter was eventually cleared up, but from then on, the camp imposed a strict policy of no "Mafia". People were free to play equivalent games, as long as the vocabulary of the game was not something that could conceivably lead to a repeat incident.

Re:Show HN: A Werewolf bot for Slack by jschulenklopper on Wednesday December 23, 2015 @08:40AM (#10783182)
Ha! In my family we play the Mafia game by the book but with alternative themes. My father-in-law used to work as a fireman, so I created the game of "Pyromaniac" for a family weekend trip. And for a party of one of my children, I rewrote the game towards "Wolf in sheep's clothes". They loved it (and would not understand the mafia references).

Hopefully the police is not alarmed by bits of paper with labels as "wolf" (mafia), "dog" (guardian angel), "shepherd" (detective) and "sheep" (civilian)...

Re:Show HN: A Werewolf bot for Slack by eru on Monday December 21, 2015 @02:55AM (#10770095)
I believe the proper term is `isomorphic' games?
Re:Show HN: A Werewolf bot for Slack by giancarlostoro on Sunday December 20, 2015 @06:03PM (#10768674)
I've played it as "Mafia" but never as "Werewolf" so thanks for the informed link.
Re:Show HN: A Werewolf bot for Slack by scrollaway on Sunday December 20, 2015 @09:16PM (#10769213)
If you enjoy Mafia, check out Town of Salem - a web/desktop based version. Games are quicker than usual Mafia.

https://www.blankmediagames.com/

Re:Show HN: A Werewolf bot for Slack by eru on Monday December 21, 2015 @02:41AM (#10770060)
There's also `Secret Hitler'. A game that's better than its name sounds.
Re:Show HN: A Werewolf bot for Slack by 8note on Sunday December 20, 2015 @11:09PM (#10769536)
here's the werewolf version: http://www.games-wiki.org/wiki/Werewolves_of_Millers_Hollow/

having cards available as reminders of who's alive is very helpful

Re:Show HN: A Werewolf bot for Slack by bass_case on Sunday December 20, 2015 @05:10PM (#10768484)
Good suggestion, I added to Readme
Re:Show HN: A Werewolf bot for Slack by abcd_f on Monday December 21, 2015 @05:20AM (#10770437)
Now also in a movie format - https://www.youtube.com/watch?v=DDpSwl-fJcU
Re:Show HN: A Werewolf bot for Slack by qwertyuiop924 on Sunday December 20, 2015 @05:11PM (#10768490)
As I don't use Slack, I'm totally building an IRC version of this. Actually, I'd prefer frontend-agnostic, so I can hook the logic to IRC/matrix/XMPP/websockets.
Re:Show HN: A Werewolf bot for Slack by anonfunction on Sunday December 20, 2015 @11:15PM (#10769549)
If you're a rubyist check out Lita[1] which is a ruby bot framework that has many adapters[2] to work with various chat services like IRC, slack, etc...

1. https://github.com/litaio/lita

2. https://www.lita.io/plugins

Re:Show HN: A Werewolf bot for Slack by bass_case on Sunday December 20, 2015 @05:27PM (#10768547)
I'm down to build this into this project. Build an IRC client in ReactPHP (async websocket pkg) and we'll work towards the necessary abstraction to make the game logic completely secular.
Re:Show HN: A Werewolf bot for Slack by level3 on Sunday December 20, 2015 @05:54PM (#10768646)
You might want to look up existing IRC bots for reference (like XylBot [1]). I'm not sure how usable the code is, but it could be useful for role ideas.

[1] https://github.com/RossM/XylBot

Re:Show HN: A Werewolf bot for Slack by xena on Monday December 21, 2015 @02:57AM (#10770100)
Re:Show HN: A Werewolf bot for Slack by qwertyuiop924 on Monday December 21, 2015 @08:46AM (#10771016)
I've actually been looking at scheme. I need the practice, and it has enough frontends to make it work. Also, there is CHICKEN's C FFI, which is amazing.

But ruby might be good, too.

Re:Show HN: A Werewolf bot for Slack by chrislloyd on Sunday December 20, 2015 @04:06PM (#10768293)
So awesome :) Thanks for putting this together. I'd love to see a Secret Hitler bot next!
Re:Show HN: A Werewolf bot for Slack by sandij on Monday December 21, 2015 @05:44AM (#10770510)
Nice, in my experience online Werewolves can be fun when you know each other well but live far away. So I could imagine it working with teams on Slack. How were your experiences thus far?

I built https://github.com/sander/lunacy for a similar purpose (CouchDB + Node + AngularJS). After a few months it did become a bit boring, I think mainly because the stakes are lower when dropping out of a game doesn’t actually mean having to sit and watch others continue to play live (you can just quit the app), and because the lack of facial expressions that can give away roles.

Re:Show HN: A Werewolf bot for Slack by RodericDay on Sunday December 20, 2015 @05:31PM (#10768565)
Have you tried out The Resistance?
Re:Show HN: A Werewolf bot for Slack by jayhuang on Sunday December 20, 2015 @06:36PM (#10768793)
Resistance is one of my favourite games of this type. It's great when you have 2 or 3 really talky people. Kind of falls apart when everyone is quiet though.
Re:Show HN: A Werewolf bot for Slack by bass_case on Sunday December 20, 2015 @06:44PM (#10768806)
Sometimes you have to rally the group to play a second game and then they'll get it.

I've also seen quiet groups completely come around if you act a little more like a moderator and start asking questions. Have everyone say who they are and why. Always ask people why they voted a certain way. Its usually not too hard to get the quiet ones talking.

Re:Show HN: A Werewolf bot for Slack by bass_case on Sunday December 20, 2015 @05:37PM (#10768587)
Yep, I'm a fan of Resistance and Avalon as well. I think I prefer Werewolf and One Night Werewolf more.
Re:Show HN: A Werewolf bot for Slack by purpled_haze on Sunday December 20, 2015 @04:14PM (#10768320)
This is neat, but I still wonder where people get the time to play games like this.
Re:Show HN: A Werewolf bot for Slack by forrestthewoods on Sunday December 20, 2015 @05:08PM (#10768477)
We played Secret Hitler in the office as part of a games day. https://www.kickstarter.com/projects/maxtemkin/secret-hitler
Re:Show HN: A Werewolf bot for Slack by bass_case on Sunday December 20, 2015 @05:40PM (#10768595)
Haven't seen this game but it sounds awesome. Eager to give this one a try.
Re:Show HN: A Werewolf bot for Slack by lambda on Sunday December 20, 2015 @04:47PM (#10768410)
Take a little time off from checking HN?
Re:Show HN: A Werewolf bot for Slack by pheroden on Sunday December 20, 2015 @05:13PM (#10768494)
But that would eat into my Reddit checking time.
Re:Show HN: A Werewolf bot for Slack by bass_case on Sunday December 20, 2015 @04:15PM (#10768325)
Between 12pm and 1pm, or after 6pm haha :P
Re:Show HN: A Werewolf bot for Slack by at-fates-hands on Sunday December 20, 2015 @05:04PM (#10768461)
Used to work at a startup and after 3pm Thurs and Fri, our sys admin would set up a server for Counter Strike for the developers.

Man I miss those days. . .

Re:Show HN: A Werewolf bot for Slack by xerophyte12932 on Monday December 21, 2015 @12:16AM (#10769691)
My coworker and I happen to have a very strict One Slime schedule. Even slack bot knows about it and gets excited
Re:Show HN: A Werewolf bot for Slack by eru on Monday December 21, 2015 @02:56AM (#10770098)
At work..
Re:Show HN: A Werewolf bot for Slack by WA on Monday December 21, 2015 @05:09AM (#10770413)
Small nitpick: That screenshot shows a situation which shouldn't occur in the game. If there's only 1 player left, he's the winner. So I wonder: Is there a winning condition built in?
Re:Show HN: A Werewolf bot for Slack by pavel_lishin on Sunday December 20, 2015 @05:49PM (#10768628)
I wonder why it's written in PHP. Seems like an odd choice.
Re:Show HN: A Werewolf bot for Slack by bass_case on Sunday December 20, 2015 @05:52PM (#10768638)
It's what I'm most familiar with and I didn't want to spend a lot of time building it.

There is a great Slack RTM client written with ReactPHP (http://reactphp.org/) that I took advantage of.

Re:Show HN: A Werewolf bot for Slack by Sir_Cmpwn on Monday December 21, 2015 @05:43AM (#10770508)
You should really consider investing time in learning more languages.
Re:Show HN: A Werewolf bot for Slack by zorrb on Sunday December 20, 2015 @09:18PM (#10769225)
Really cool. I built something similar in python for giggles a couple months ago [1]. One day I'll get around to implementing other roles. Honestly the most fun part of it was co-workers hilarious attempts to break the script. ```!vote DROP TABLES```

https://github.com/nickweinberg/werewolf-slackbot

Re:Show HN: A Werewolf bot for Slack by an4rchy on Monday December 21, 2015 @04:55AM (#10770379)
It's a fun group game... glad to see another addition to the growing list of Slack games...
Re:Show HN: A Werewolf bot for Slack by arcatek on Monday December 21, 2015 @08:04AM (#10770885)
Lycanobot is an IRC bot with much more roles:

http://dotsec.fr/index.php/Lycanobot

Re:Show HN: A Werewolf bot for Slack by kiernanmcgowan on Sunday December 20, 2015 @07:44PM (#10768967)
Very cool! I wonder how the game dynamic changes when people are not required to be in the same room as each other.
Re:Show HN: A Werewolf bot for Slack by entelect on Tuesday December 22, 2015 @08:29AM (#10777606)
Anyone know how to host this on Heroku?
Re:Show HN: A Werewolf bot for Slack by itake on Sunday December 20, 2015 @04:12PM (#10768312)
ha, this is perfect. love it. sharing