パスワードを忘れた? アカウント作成
662581 journal

argonの日記: argon.age += 1 7

日記 by argon
require 'person'
require 'worker'

class Person
    include Japanese
    include Work
    include Are
end

person = Person.new
person.loadprofile("argon.profile")
person.daybyday do |argon|
    argon.wakeup
    begin
        while true
            now = Time.now
            break unless now > Day_Time
            case now
            when Morning_Time, Lunch_Time, Dinner_Time
                argon.eat
            when Working_Time
                argon.work
            else
                argon.play
            end
            argon.fallin_accident if rand < WARNING
        end
    rescue
        raise if rand < FATAL
    ensure
        argon.walk
    end
    argon.sleep
    argon.age += 1 if argon.birthday?(now)
end
この議論は賞味期限が切れたので、アーカイブ化されています。 新たにコメントを付けることはできません。
typodupeerror

192.168.0.1は、私が使っている IPアドレスですので勝手に使わないでください --- ある通りすがり

読み込み中...