mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 15:37:51 -08:00
Add a couple TODOs
This commit is contained in:
@@ -2,6 +2,7 @@ import java.util.Collections;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
// TODO fill out the javadoc for this class
|
||||
public class Player {
|
||||
|
||||
private int playerNumber; // e.g. playerNumber = 1 means "this is Player 1"
|
||||
|
||||
@@ -20,6 +20,15 @@ public class GameTest {
|
||||
private StringWriter out;
|
||||
private Game game;
|
||||
|
||||
// TODO See if it's possible to initialize test data in a more readable way.
|
||||
// e.g.
|
||||
// playerGets(Card)
|
||||
// playerGets(Card)
|
||||
// playerDoes(String)
|
||||
// playerGets(Card)
|
||||
// playerDoes(String)
|
||||
// initGame(g) // Creates the deck and initializes 'in' based on values accumulated from prior calls to playerGets and playerDoes.
|
||||
|
||||
private void givenStubGame() {
|
||||
in = new StringReader("");
|
||||
out = new StringWriter();
|
||||
|
||||
Reference in New Issue
Block a user