DuckHunt — Duckhunt game

Example usage:

3:15:06 PM <pyircbot3> \_o<      Quack!
3:15:08 PM <@dave-irccloud> !shoot
3:15:08 PM <pyircbot3> dave-irccloud fires after 1.73 seconds and misses!
3:15:09 PM <@dave-irccloud> !shoot
3:15:10 PM <pyircbot3> dave-irccloud fires after 3.83 seconds and misses!
3:15:11 PM <@dave-irccloud> !shoot
3:15:11 PM <pyircbot3> dave-irccloud bags a 2.63 lb Duck in 4.92 seconds!
3:15:19 PM <@dave-irccloud> !huntscore
  << in pm >>
3:15:19 PM <pyircbot3> 0 prime catches, 0 runts, 3 bullets used and 2 misses.
3:15:20 PM <pyircbot3> You've shot 1 Ducks for a total weight of 2.63 lbs.

Class Reference

class pyircbot.modules.DuckHunt.DuckHunt(bot, moduleName)[source]

Bases: pyircbot.modulebase.ModuleBase

addKillFor(playername, kill)[source]
cmd_shoot(msg, args)[source]
duckOut()[source]
getRandWeight(minW, maxW)[source]
hunt(msg, cmd)[source]
loadScores()[source]
ondisable()[source]
saveScores(scores)[source]
startHunt()[source]

Creates a timer that waits a certain amount of time then sends out a bird _o< quack