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.
- Blackjack
- No Limit Texas Hold'em Poker
- No Limit Texas Hold'em Tournament
- Java 6 or higher
- PircBotX 1.9
- Download the PircBotX library (the JAR package).
- Download irccasino and create a new project for it.
- Add the PircBotX library to the build/compile path for the project.
- Set the project to run CasinoBot.java.
-
Copy the .help files and strlib.txt to the project run directory.
-
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 the project.
- Give the bot Op status in the channels that will run the games.
- While as channel Op in those channels, type the command
.texaspoker,.texastourneyor.blackjackto start that game in the channel. - Other useful Op commands are
.botquit,.reboot,.endgame, and.games.