Skip to content

Casino games for IRC using PircBotX. Features Blackjack and Texas Hold'em.

License

Notifications You must be signed in to change notification settings

RantingHuman/irccasino

 
 

Repository files navigation

irccasino

What is irccasino?

irccasino is a Java package that implements casino games for IRC using the PircBotX library. A standalone bot is included, but the package can also be added to any existing PircBotX-based project. For more information, visit the project wiki on GitHub or join us on Freenode in ##casino and ##holdem.

Games

  • Blackjack
  • No Limit Texas Hold'em Poker
  • No Limit Texas Hold'em Tournament

Requirements

  1. Java 6 or higher
  2. PircBotX 1.9

Standalone Setup

Create project

  1. Download the PircBotX library (the JAR package).
  2. Download irccasino and create a new project for it.
  3. Add the PircBotX library to the build/compile path for the project.
  4. Set the project to run CasinoBot.java.

Configuration

  1. Copy the .help files and strlib.txt to the project run directory.

  2. Create irccasino.conf in the project run directory with the following contents:

    nick=bot nick
    password=bot password (optional)
    network=IRC network (e.g. chat.freenode.net)
    channel=IRC channels to auto-join (comma delimited)
    bjchannel=IRC channels to auto-start Blackjack (comma delimited)
    tpchannel=IRC channels to auto-start Texas Hold'em (comma delimited)
    ttchannel=IRC channels to auto-start Texas Hold'em Tournament (comma delimited)
    

Run standalone bot

  1. Run the project.
  2. Give the bot Op status in the channels that will run the games.
  3. While as channel Op in those channels, type the command .texaspoker, .texastourney or .blackjack to start that game in the channel.
  4. Other useful Op commands are .botquit, .reboot, .endgame, and .games.

Contributors

brrr2 (Main Author)
Yky

About

Casino games for IRC using PircBotX. Features Blackjack and Texas Hold'em.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%