Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C-SPLAT, FooTV and FightClub
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CSplat
TV
config
.gitignore
PerlModules
README
TODO
arena-slave.pl
clean-ttyrecs
fetch.pl
fight-club.pl
footv.pl
install-perl-modules
repeat.pl
vacuum.pl

README

FooTV
-----

FooTV accepts xlogfile entries from a TV request server (currently the
server hosting the Sequell bot on Freenode IRC ##crawl). When it
receives an xlogfile request, it identifies the server hosting that
game's ttyrecs, downloads the ttyrecs and plays back the game on
termcast.org, close to the end of the game, or close to the milestone
event if provided a milestone.

To install the Perl modules FooTV wants, run:

# ./install-perl-modules

To run FooTV, use:

$ perl footv.pl

You'll first have to edit footv.pl to point at the server that
broadcasts TV requests.



FightClub
---------

FightClub accepts requests of the form "!fight X v Y", passes the
request to a slave Crawl process as "crawl -arena 'X v Y", and
termcasts the resulting arena fight.

To run FightClub, you need a local Crawl binary. Run FightClub as:

$ CRAWL_HOME=/directory/where/crawl/binary/lives perl fight-club.pl

FightClub runs its own IRC bot to take bot requests. Edit fight-club.pl to
configure the request bot. fight-club.pl forks an arena-slave.pl process to
run Crawl and termcast the fight. Edit arena-slave.pl to configure the
termcast channel, etc.
Something went wrong with that request. Please try again.