diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-10 00:52:01 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-10 00:52:01 +0200 |
commit | f9c485413f781fa04e56ce3eaedcff07adc1a88f (patch) | |
tree | d31539edc93184e03ce07ad9a90b280c91997bf3 /data | |
parent | a0c0940063f8efe594fa3d00a9f49ad878008c91 (diff) |
uno plugin: TODOs
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index 8ca60e66..ead3aeb7 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -10,6 +10,12 @@ # License:: GPL v2 # # Uno Game: get rid of the cards you have +# +# TODO documentation +# TODO allow full form card names for play +# TODO allow color specification with wild +# TODO allow choice of rules re stacking + and playing Reverse with them +# TODO highscore table class UnoGame COLORS = %w{Red Green Blue Yellow} @@ -508,7 +514,8 @@ class UnoGame end def end_game - announce _("%{uno} game finished! The winner is %{p}") % { + announce _("%{uno} game finished after %{time}! The winner is %{p}") % { + :time => Utils.secs_to_string(Time.now-@start_time), :uno => UNO, :p => @players.first } if @picker > 0 |