azgame plugin: support autoadding words to wordlist
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 17 Nov 2008 15:37:57 +0000 (16:37 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 17 Nov 2008 15:37:57 +0000 (16:37 +0100)
commit62ca2eda0b2d42f79d06f85e0ce041be64055ad2
tree35659b4bbff10e2f6803ecd267d7e0c9a8af9f42
parenta7cefe6c664ca438fc3785186e814738a390b9f3
azgame plugin: support autoadding words to wordlist

When the game is started with a wordlist it's possible to specify a
language to use for existence of words. When a word is not found in the
wordlist, it's checked against the given language check function, and if
present it's added to a specific file (autoadd-#{language}), which is
also used on load to choose the word to pick.
data/rbot/plugins/games/azgame.rb