Difference between revisions of "Werewolf Tutorial"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* [http://downloads.sourceforge.net/project/javatwg/0.99b/0.99b/Twg-0.99.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fjavatwg%2Findex.html&ts=1294265671&use_mirror=puzzle Click here for Werewolf] | * [http://downloads.sourceforge.net/project/javatwg/0.99b/0.99b/Twg-0.99.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fjavatwg%2Findex.html&ts=1294265671&use_mirror=puzzle Click here for Werewolf] | ||
* [http://www.jibble.org/files/pircbot-1.5.0.zip Click here for Pircbot] | * [http://www.jibble.org/files/pircbot-1.5.0.zip Click here for Pircbot] | ||
---- | |||
*Create a directory named '''Werewolf''' | |||
*Place the files from the unzipped pircbot in it: org lib src pircbot-1.5.0 | |||
*Place the files from the unzipped werewolf in it: werewolf.ini wolfgame.txt wolf.log werewolfgame.txt run.bat | |||
---- | |||
Once you have finished configuring your bot, cd into the Werewolf directory and enter the following command: | |||
<pre>java -classpath .:lib/pircbot.jar org.jibble.pircbot.llama.werewolf.Werewolf [&]</pre> | |||
---- | |||
[[Category:Games]][[Category:Tutorials]] | [[Category:Games]][[Category:Tutorials]] |
Revision as of 22:53, 5 January 2011
Werewolf
| |
---|---|
Homepage: | http://javatwg.sourceforge.net/ |
Description
Werewolf is an IRC bot that moderates instances of The Werewolf Game, a detective/social game. Based on the PircBot found Here and uses a modified version of the rules found Here.
Requirements
Installation
To run Werewolf, you need to install the java run time enviroment on the server that the bot will be placed on, you can do this on debian by:
apt-get install openjdk-6-jre
Download and unzip the Werewolf game, and Pircbot.
- Create a directory named Werewolf
- Place the files from the unzipped pircbot in it: org lib src pircbot-1.5.0
- Place the files from the unzipped werewolf in it: werewolf.ini wolfgame.txt wolf.log werewolfgame.txt run.bat
Once you have finished configuring your bot, cd into the Werewolf directory and enter the following command:
java -classpath .:lib/pircbot.jar org.jibble.pircbot.llama.werewolf.Werewolf [&]