Demo [Almost Complete] Werewolf (Read 1042 times)

  • Avatar of bick
  • Newbie Greeter
  • PipPipPip
  • Group: Premium Member
  • Joined: Feb 13, 2004
  • Posts: 304
As some may remember, Trihan (I think it was Trihan) created an IRC bot that hosted a variant of the popular party game Mafia, werewolf. While doing tutorials on sockets in java, I decided that I would try to make my own version of werewolf as a standalone game. I recreated a lot of classes from Trihan's version as well as using my own ideas to make a (hopefully) fun version.

Basic Rules
To begin, players are split into two different groups: werewolves and civilians. Each player is alerted of which group he/she is in, but they do not know which group the rest of the players are in. If you're a civilian, your goal is to eradicate your village of werewolves before they outnumber you. If you're a werewolf, your job is to hide amongst the civilians until they are no longer able to fend you off.

The game is split into two phases: Day and Night. During the Day, everyone (including the werewolves) may talk to each other and vote to lynch someone or no one. Once a majority is reached, a player is either removed from the game, or no one is killed. If a player is lynched, his/her identity as a wolf/civilian is revealed. During the night, the werewolves vote to eat one civilian; however, if all the werewolves do not come to a unanimous decision by the end of the night cycle (which lasts 45 seconds), no civilian is killed.

Classes
Civilians
Investigator: Can investigate one person per night. While tracking an individual, the investigator will be made aware of all targets (either through abilities or voting to kill) their target makes during the night
Medic: Once per night, the medic can choose one person to protect. If the werewolves choose to kill the protected individual, the medic will intervene and save the person. There is always 1 medic per game
Magistrate:Once during the game, the Magistrate can arrest a person for one day. The arrested person cannot vote, use abilities, or be the target of any votes/abilities
Possessed Citizen: Upon being lynched, the Possessed Citizen can unleash a Spectre that will kill one person of the Possessed Citizen's choice.
Medium: The Medium can talk to the dead.
Zombie: After death, the Zombie still has the ability to talk to the living.
Priest: Once per game, the priest can save a player from being lynched. The act of saving a player reveals to all the identity of the priest.
Psychic: Can divine if a person is a werewolf or not once per night.
Vigilante: Once per game, the vigilante can kill one player. If the killed player isn't a werewolf, the vigilante is killed as well.

Werewolves
Werewolf with Improved Senses: Can sense if a person has a special ability or not once per night.
Werewolf with a Shadow Aura: If the psychic tries to divine a Werewolf with a Shadow Aura, the psychic will divine that the werewolf is a normal civilian

Screenshots




Download Link
Download Here Must extract before playing.

What's Left to Do
The core game engine works for all I've tested it for and so have the classes, but I have not tested this game over multiple computers. At this time, I'm testing for how the game handles multiple hosts running at once as well as multiple computers plugged in at once.

Having trouble playing?
Make sure port 51092 is open/forwarded
Last Edit: July 17, 2009, 12:56:55 am by bick
  • Avatar of The Penguin
  • Bombs of Fire!
  • PipPipPip
  • Group: Premium Member
  • Joined: Apr 11, 2003
  • Posts: 310
I have to say that I loved playing Trihan's Werewolf on mIRC, and I hope this gets popular, because I sure do love my werewolf!
  • Ninjitsu Extraordinair
  • PipPipPipPipPip
  • Group: Member
  • Joined: May 7, 2005
  • Posts: 696
I have the actual game (with the cards and everything) at home but I never got enough people to play it, so I'm gonna try this!
Quote
<richcollins> christ how long does a reboot take
<w3wsrmn> took him 3 days
Courtesy of www.bash.org
  • Avatar of UPRC
  • No, it doesn't stand for anything.
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: May 25, 2002
  • Posts: 2974
Fantastic! Werewolf was always a blast.

What does this connect to when you play? Are games hosted on a central server, LAN, or what?
  • Avatar of fatty
  • i am a swordsman
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 20, 2004
  • Posts: 2302
This is so great. I have really nice memories of this game.
  • Avatar of ase
  • It's A Short Eternity... live with it
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: May 23, 2003
  • Posts: 4526
hey, this is exciting. clicking buttons instead of typing in commands makes things a bit easier. So yeah, does this still utilize IRC or what?
  • Avatar of UPRC
  • No, it doesn't stand for anything.
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: May 25, 2002
  • Posts: 2974
Okay, I just downloaded this. I clicked "join" and it completely froze up.

EDIT: Oh, there we go. It just took about 30 seconds. It's just sitting on "connecting" now.
Last Edit: July 16, 2009, 01:03:17 pm by UPRC
  • Avatar of bick
  • Newbie Greeter
  • PipPipPip
  • Group: Premium Member
  • Joined: Feb 13, 2004
  • Posts: 304
Okay, I just downloaded this. I clicked "join" and it completely froze up.

EDIT: Oh, there we go. It just took about 30 seconds. It's just sitting on "connecting" now.
Did you extract the game? It has to connect to a server in order to get the game lists, which causes the freeze. If you did extract everything, then click the refresh button to give it another go. To answer your other question, the game is played through socket connections so you can be the host. IF anyone knows of a good, free (or cheap) MySQL host, please feel free to tell me,
  • Avatar of fatty
  • i am a swordsman
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 20, 2004
  • Posts: 2302
I can't see any servers up so I made one. Can't tell if it works for you guys.
  • Avatar of Mateui
  • GW Staff: Article Alcoholic (Current Mood: Happy!)
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Aug 20, 2002
  • Posts: 1685
Are you going to be taking any new role ideas? I play Mafia a lot in real life and I've got a lot of other roles that could be added for more fun and mayhem!
  • Ninjitsu Extraordinair
  • PipPipPipPipPip
  • Group: Member
  • Joined: May 7, 2005
  • Posts: 696
I can't see any servers up so I made one. Can't tell if it works for you guys.
I don't see any servers D:
Quote
<richcollins> christ how long does a reboot take
<w3wsrmn> took him 3 days
Courtesy of www.bash.org
  • Avatar of fatty
  • i am a swordsman
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 20, 2004
  • Posts: 2302
Τry now.
  • Ninjitsu Extraordinair
  • PipPipPipPipPip
  • Group: Member
  • Joined: May 7, 2005
  • Posts: 696
It showed up and I joined, but then it said this message "Unable to connect"
Trying again now.
EDIT: Same happened.
Quote
<richcollins> christ how long does a reboot take
<w3wsrmn> took him 3 days
Courtesy of www.bash.org
  • Avatar of fatty
  • i am a swordsman
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 20, 2004
  • Posts: 2302
Mακe yoυr οωη server
  • Ninjitsu Extraordinair
  • PipPipPipPipPip
  • Group: Member
  • Joined: May 7, 2005
  • Posts: 696
Mακe yoυr οωη server
Done.

EDIT:
At least, I think.
The host button is greyed out but I see no text screen.
Quote
<richcollins> christ how long does a reboot take
<w3wsrmn> took him 3 days
Courtesy of www.bash.org
  • Avatar of fatty
  • i am a swordsman
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 20, 2004
  • Posts: 2302
Unable to connect. Damnit.
  • Avatar of bick
  • Newbie Greeter
  • PipPipPip
  • Group: Premium Member
  • Joined: Feb 13, 2004
  • Posts: 304
Are you going to be taking any new role ideas? I play Mafia a lot in real life and I've got a lot of other roles that could be added for more fun and mayhem!
Yeah I'll except any ideas you guys have.

Unable to connect. Damnit.
Make sure you have port 51092 opened (probably should've mentioned that).
  • Mysterious Member
  • PipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Apr 9, 2006
  • Posts: 803
Very cool!
Maybe this version won't make me wolf 9/10 times :p
Ock ock, Ack ack!
Beware of the cursed monkey spit!
  • So-Called Manga Artist
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Mar 18, 2007
  • Posts: 2165
Very cool!
Maybe this version won't make me wolf 9/10 times :p

I have the same reaction, I'll be joining after school work~
  • Avatar of JMickle
  • I gots a lego!
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Feb 4, 2007
  • Posts: 1922
i tried to join a game but it didnt work. i'll get on irc next time to see if anyone is playing :P
www.jmickle.com