Skip to content

Regex Golf bot, written for the EsperNet IRC Network - found at irc.esper.net port 6667, channel #regolf

Notifications You must be signed in to change notification settings

nasonfish/regolf

Repository files navigation

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

About

Regex Golf bot, written for the EsperNet IRC Network - found at irc.esper.net port 6667, channel #regolf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages