WumpusBot is a Java IRC bot written with the PircBot IRC API. It's still very new, so consider any bugs a given. You can find more information about the game at Wikipedia.
The server for the WumpusBot is irc.waypasteleven.com. The channel is #HuntTheWumpus. Thanks to jtbandes and thecalcgenius for help with coding and testing.
All code written by me is my personal property and is free. You may edit and distribute it as you wish but give me credit for what I have done.
Commands
- !start or !wumpus begins a new game. The person who types this is registered as the player and the bot will not respond to a non-player until the game is over.
- m# and s#, where # is room number, are move and shoot, respectively.
- !end ends the current game. Removes the player name.
Versions
- Bats and shafts have been implemented.
- You now have only 5 arrows with which to kill the Wumpus.
- When you shoot and miss the Wumpus, it changes it's location to a random location on the map.
- There are messages to tell you when you are near a hazard.
v1.1
- "WumpusBot" is a registered nick. ChanServ ops it upon its entry to the channel.
- You can no longer move or shoot wherever you'd like to on the map.
- The move and shoot commands have been shortened to one line.
v1.0:
- The bot connects to the server and enters the channel.
- Functionality from the move and shoot commands.
- The maps are randomly generated but are in the form of a 4 * 5 rectangle instead of a dodecahedron.
- Bats and shafts are not implemented.
- The game is single-player.
- The move command allows you to move anywhere in the map. This can also result in the game returning the value of -1 for which room the player is in.