summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games
AgeCommit message (Collapse)Author
2021-05-29quiz: hint presentation fix for ruby 1.9+Giuseppe Bilotta
2020-04-15refactor: wordlist shouldn't use bot singleton #35Matthias Hecker
also related to #41 and #6
2020-04-15plugin(wheelfortune): remove botdata dependencyMatthias Hecker
2020-04-10plugin(hangman): fixes word generator closes #9Matthias Hecker
This now uses wordgenerator.net
2013-08-19azgame: fix pattern to check search resultsMatthias H
2013-08-18azgame: catch scraping errorMatthias H
2013-08-18fixes azgame: changed dictionary urlMatthias H
2012-01-23greed: prevent players from going twice in a rowOkasu
2011-12-26greed: refactor and prepare for more complete playGiuseppe Bilotta
The score is now saved in a look-up table, that also allows more detailed output when showing the score. Also, the dice rolling potentially allows for a different number of dices to be rolled (e.g. if some are held). Take the opportunity to also gettextize outuput.
2011-12-26greed: stylistic changesGiuseppe Bilotta
Sort dices when rolling and separate values with spaces.
2011-12-26Add a Greed dice game.Okasu
2011-09-22UNO: prevent player from replaying a misplayed cardGiuseppe Bilotta
2011-02-03quiz: stop quizzes and timers on cleanupGiuseppe Bilotta
This prevents spurious timers from running after a rescan
2011-02-03quiz: more consistent autoskip/autoask managementGiuseppe Bilotta
Also respect autoask delay when autoskipping
2011-02-03quiz: autoskip featureGiuseppe Bilotta
2011-02-03quiz: autoask cleanupGiuseppe Bilotta
2011-02-03quiz: refactor and localize admin helpGiuseppe Bilotta
2011-02-03quiz: refactor quiz db problem announcementGiuseppe Bilotta
2011-02-03quiz: autoask status queryGiuseppe Bilotta
2011-01-12Ruby 1.9 cleanup: variables warningsGiuseppe Bilotta
Fix most ruby 1.9 warnings about shadowed variables (still one remaining in keywords.rb). The only significant changes are in the quiz game plugin. Also fix an issue in dictclient where the block parameter of a method was not correctly isolated from the previous parameter.
2010-12-09UNO!: when the game hasn't started, it's nobody's turnGiuseppe Bilotta
2010-12-09UNO!: prevent joins after a challengeable cardGiuseppe Bilotta
If someone joins after a challengeable W+4, he would be inserted between the last and first player, and if there is a challenge _his_ cards would be exposed. So prevent joining in such a situation.
2010-12-08UNO!: reset must_play when changing turnGiuseppe Bilotta
After a successful challenge, the challenged player can choose to pick&pass instead of playing one of its allowed cards. In such a case, the must_play array would not get reset, preventing the next player to be able to play any of its card. Fix by resetting must_play on next_turn rather than on set_discard.
2010-12-08UNO!: early exit when checking if W+4 was legalGiuseppe Bilotta
Exit as soon as we find a card that reveals that the W+4 was not a valid move.
2010-11-08UNO!: fix g9r9 fixGiuseppe Bilotta
Commit a306b2c68eb58c1c88057ff7ee78895401adb6a9 introduced a fix to prevent a player from playing something like g9r9, but the fix actually prevented any single-card play. Fix by making the \1 optional.
2010-10-19uno plugin: don't allow g9r9 card specificationGiuseppe Bilotta
The regexp should make sure that the second card is equal to the first specified card, instead of matching the card expression one or two times. Otherwise, a play like 'pl g9r9' would be accepted when the player had two r9 cards and could play them. This is only a aesthetical change because the plays would still be valid, albeit (1) surprising and (2) mismatching what the user actually wrote.
2010-08-24hangman plugin: don't fail silently on !hangmanGiuseppe Bilotta
If the random generation site failed for any reason (eg. by returning a non-2xx page), starting a hangman game would fail silently. Catch this case and announce the failure.
2010-08-05UNO!: replace_player() returns whether it worked or notGiuseppe Bilotta
2010-08-05UNO!: don't replace with nonexisting playersGiuseppe Bilotta
2010-08-05UNO!: prevent a challenge after a pick after a W+4Giuseppe Bilotta
2010-08-03hangman: fix playing with a private messageGiuseppe Bilotta
The target was being of the wrong class (String vs Irc::Channel), busting all the hash lookups.
2010-08-03hangman: IRCify HTML in definitionsGiuseppe Bilotta
2010-07-29hangman: ensure 'hangman define' always answersGiuseppe Bilotta
2010-07-18hangman plugin: update a couple of messagesGiuseppe Bilotta
It's 'hangman define' now, and we should only use one prefix in the example command
2010-07-10UNO! plugin: clean join_timer when game startsGiuseppe Bilotta
This prevents spurious messages about the game join timer being cancelled when a game is ended by all players but one dropping out.
2010-07-03hangmang plugin: rename 'define' to 'hangman define'Giuseppe Bilotta
2010-07-02UNO! plugin: prevent double wild playGiuseppe Bilotta
This allows lazy players to specify the color after playing the wild by pressing up-arrow and adding the color to the previous line, without running the risk of playing their precious second wild.
2010-07-02UNO! plugin: be more discreet about user failuresGiuseppe Bilotta
The public announcement is now a generic "can't do that", with the specific message being notified to the user. This reduces the chance of other players guessing what the current player has from the error messages.
2010-07-02UNO! plugin: stop join_timer on end_gameGiuseppe Bilotta
This prevents a game from starting after it has ended.
2010-07-02UNO! plugin: cope with pre-game dropsGiuseppe Bilotta
The drop is still counted, to prevent people from leaving and then rejoining until they have nice cards.
2010-07-01roulette: Keep track of points and provide a hall of fame (hof)David Gadling
2009-12-21hangman: expand %{site} in helpGiuseppe Bilotta
2009-08-16Suppress warnings about unitialized variablesGiuseppe Bilotta
hangman: an unneeded letters accessor was defined ircbot: restore initializations removed by previous commit
2009-05-21multiple plugins: Changes to remove parenthesize warnings.David Gadling
All of these modules/plugins were generating warnings like this: warning: parenthesize argument(s) for future version This patch should fix all the warnings without affecting functionality.
2009-05-19quiz: Make maximum number of jokers configurable.David Gadling
2009-05-16quiz plugin: simplify local file loadingGiuseppe Bilotta
2009-03-07hangman: space scoresGiuseppe Bilotta
2009-03-03hangman: enable gettext on some replies and helpRaine Virta
2009-03-03hangman: make replies more compatible with gettextRaine Virta
_() returns frozen strings in 1.92.0. This patch not only addresses that, but also makes some of the replies more flexible.
2009-02-27hangman: fix score fetching to work for offline users.Spencer Rinehart
m.server.get_user doesn't work for offline users so use what was given instead.