Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.16 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.16 KB

regolf

This is a simple IRC bot in Perl, made to manage regex golf games through IRC.

Typically, two sets of words will be picked, possibly similar words, and people will have to come up with the shortest regex possible to match all of the words in the first set but not in the second set.

This is currently in progress and is not fully-featured yet.

Install

We're not extremely configurable, but there's some things you can do to get this working for yourself.

  • You should fill pwd.txt with your NickServ account password. There is currently no way to turn this off.

  • After downloading, please execute:

sudo apt-get install libpoe-component-sslify-perl
sudo apt-get install wamerican  # if you don't have a wordlist
sudo apt-get install libbot-basicbot-perl

This should install all our dependancies.

Now, we just need to update our version of Bot-BasicBot.

We can do this by grabbing it right from search.cpan.org.

wget http://search.cpan.org/CPAN/authors/id/H/HI/HINRIK/Bot-BasicBot-0.89.tar.gz
tar xzf Bot-Basicbot-0.89.tar.gz
cd Bot-Basicbot*
perl Makefile.PL
make
sudo make install

Now we can run the bot!

perl main.pl