Totally Redone

Even though I had a playable game, this version is much more cleanly
done.  I spent a bit of time reading resources and now understand the
params much better.