building up test suite and refactoring all three games