hangman: an unneeded letters accessor was defined
ircbot: restore initializations removed by previous commit
end
class Hangman
- attr_reader :misses, :guesses, :word, :letters, :scores
+ attr_reader :misses, :guesses, :word, :scores
STAGES = [' (x_x) ', ' (;_;) ', ' (>_<) ', ' (-_-) ', ' (o_~) ', ' (^_^) ', '\(^o^)/']
HEALTH = STAGES.size-1
exit 2
end
+ # Time at which the last PING was sent
+ @last_ping = nil
+ # Time at which the last line was RECV'd from the server
+ @last_rec = nil
+
@startup_time = Time.new
begin