# -*- coding: utf-8 -*-
"""
Created on Thu Feb 11 09:08:42 2016
@author: Kirby Urner
A Game of Life (c) MIT License, 2016
Die: 2 or more sides
Cup: 1 or more dice
Exceptions subclasses
Run a gauntlet of possible exceptions, with Game for scope
"""
from random import choice
# What
# -*- coding: utf-8 -*-
"""
Created on Thu Feb 11 12:07:59 2016
@author: Kirby Urner
In algebra, we have the idea that functions might compose. We
have this idea in POSIX too, i.e. the pipeline operator:
$ ls *.py | wc -l
The ls 'function' sends its output to wordcount -lines to say
how many
In calculus we encounter "local maxima" in our manifold, i.e. mountain
peaks, from where the view is grand (other mountains stretch across the
horizon).
One such peak in Python is: seeing a decorator turn a generator into a
context manager.
Getting this construct down may take more than one