Skip to content

Checkpoint2#10

Open
d3marco wants to merge 2 commits intomasterfrom
Checkpoint2
Open

Checkpoint2#10
d3marco wants to merge 2 commits intomasterfrom
Checkpoint2

Conversation

@d3marco
Copy link
Copy Markdown
Owner

@d3marco d3marco commented Nov 27, 2018

No description provided.

Comment thread Checkpoint2/Program.cs
for (int r = 0; r < 8; r++)
{
var white = new Checker()
{
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have rather seen you pass in the symbol and color to the constructor.

Comment thread Checkpoint2/Program.cs
Game();
}
//Build pieces
public static readonly Checker whitePiece = new Checker()
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why you created a single white and single black piece here.

Comment thread Checkpoint2/Program.cs
return false;
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice start. How would you add the logic to automatically remove the captured pieces, and check that a move was valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants