…ave it working right.
… console. Using a console shows no difference on the bash command line.
…so that a Console could be used. The console properly moves the cursor.
…at I wasn't flushing the writer.
…es not work. :( GameCount could not be removed. It abstracted the notion of a positive number. Renamed it to RoundCount since it was really a count of the rounds won not of games won.
…ll create WonRoundCounts from GameCounts. I suspect I'll be able to get rid of the GameCounts entirely, and just use WonRoundCounts.
…add code after the Round had been played. This could also have been added to the Game, but it was simpler to add to the Round since the Game has so many conditions inside its play method. This ended up removing the need to distinguish between types of Games, which eliminated 2 classes.
… to-by games. This greatly helps with mocking. Moved mutability from Player into WonRoundCount. This makes sense since the number of rounds won is the only thing in a Game that can change. Removed unneeded interfaces/abstract classes. I'm beginning to question the cost of refactoring.
…s simply the logic of playing a round, not the logic and result. Thus, a Round object can be played many times.
…ttemptReader had to move all the way up to the BestofGameFactoryFactory.
…t caused by original API. Prviously, I would have to check which player the round returned and increment a count in the game. now, I can just increment the count from within the round.
…on when the gameCount is even. Propagated tests upwards to guarantee that the Exception is handled properly. Still haven't implemented BestofGame.
…d during creation of BestofGame that I need to validate that a Bestof game has an odd number of games. Just wrote tests, no impls.
…agated up to Round and will probably go all the way to RockPaperScissors.
…ity for creating and reading input into AttemptReader. AttemptFactory converts a String to an Attempt.
…ication. The Attempt should be in charge of String-to-Attempt conversion.
…d with the player name.
…an attempt, you can specify the player number in addition to the player name.
…to write whose turn it is.
Revert "Changed Attempt to be an enum. This reduced the number of tests to write. This also will push input-to-Attempt creation logic into the factory." This reverts commit 3086795.
…ite. This also will push input-to-Attempt creation logic into the factory.
…asic data object of the app.
…ther repo. Merge branch 'master' of github.com:hborders/RockPaperScissors Conflicts: RockPaperScissors/src/com/github/hborders/rockpaperscissors/BestofGame.java RockPaperScissors/src/com/github/hborders/rockpaperscissors/BestofGameFactory.java RockPaperScissors/src/com/github/hborders/rockpaperscissors/DefaultGameFactory.java RockPaperScissors/src/com/github/hborders/rockpaperscissors/IGameFactory.java RockPaperScissors/src/com/github/hborders/rockpaperscissors/ToByGame.java RockPaperScissors/src/com/github/hborders/rockpaperscissors/ToByGameFactory.java RockPaperScissors/src/com/github/hborders/rockpaperscissors/ToGameFactory.java RockPaperScissors/test/com/github/hborders/rockpaperscissors/RockPaperScissorsTest.java
…verspecified because I'm guessing I'll need a Console.