diff options
Diffstat (limited to 'data/rbot')
-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 |