#!/usr/bin/env python
""" The way of things """ 

import random 

class Impulse(object):
	""" Our guide """
	QUIET_DAY = 2
	BUSY_DAY = 10

	@classmethod
	def strength(cls):
		""" How alive are we today? """
		return random.randint(cls.QUIET_DAY, cls.BUSY_DAY)

class Humanoid(object):
	""" A being """
	ACTIONS = ['sing', 'dance', 'holler', 'laugh', 'weep', 'drink', 'smoke',
		'walk', 'read', 'meditate', 'eat', 'code', 'itch', 'swim', 'garden',
		'fuck', 'debate', 'cuddle', 'argue', 'vegetate', 'hide', 'write',
		'expound']
	EMOTIONS = ['pleasure', 'dignity', 'elation', 'hatred', 'disgust', 'fear',
		'sorrow', 'peace', 'mirth', 'trepidation', 'humility', 'caution']

	def have_a_day(self, motivation):
		""" One of many """
		print "Today:"
		for choice in range(motivation):
			action = random.choice(self.ACTIONS)
			emotion = random.choice(self.EMOTIONS)
			print " - I %s with %s." % (action, emotion)
		print "Sleep well."

######################

we = Humanoid()
we.have_a_day(Impulse.strength())
