Title / Description
Code life = Life.new you = Creature.new begin you.born you.life_days.each do you.good_karma.decrease if life.apply_pleasure?(you) or you.true_yogi? you.bad_karma.decrease if life.apply_suffering?(you) or you.true_yogi? if not you.true_yogi? you.good_karma.increase if you.done_good_action? you.bad_karma.increase if you.done_bad_action? end end you.die end until you.was_human? and you.karma.empty?
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code