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 with some minor tweaks.
- Blackjack
- No Limit Texas Hold'em Poker
- 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 to the project run directory.
-
Create irccasino.conf in the project run directory with the following contents:
nick=bot nick password=bot password network=IRC network channel=IRC channels (comma delimited)
- Run the project.
- Give the bot Op status in the channels that will run the games.
- While as channel Op, type ".texaspoker" or ".blackjack" to start the desired game in the channel.
For more information, visit the project wiki on GitHub or join us on Freenode in ##casino. HELLO WORLD! More!