]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
greed: refactor and prepare for more complete play
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 26 Dec 2011 09:57:54 +0000 (10:57 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 26 Dec 2011 09:57:54 +0000 (10:57 +0100)
commitb73f06958c304dc5bc82523765f893211785f2d0
tree25f72902461bf6857f730a84310c5ab552de96ac
parentdec5bf5e5d07763e9a5ed0c87b4e219cb786aa99
greed: refactor and prepare for more complete play

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.
data/rbot/plugins/games/greed.rb