cleaning up code; moving functions into methods of Game namespace
Merge pull request #2 from jsedwards/gh-pages

cleaning up code; moving functions into methods of Game namespace