From f9c485413f781fa04e56ce3eaedcff07adc1a88f Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 10 Apr 2008 00:52:01 +0200 Subject: uno plugin: TODOs --- data/rbot/plugins/games/uno.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'data/rbot') 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 -- cgit v1.2.3