Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lauber lives

  • Loading branch information...
commit 1c9922acd75480b9c2f9cf0fd46d2c8ce343b0f7 1 parent bf73040
@clauber115 clauber115 authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Checkers.cpp
View
4 Checkers.cpp
@@ -155,6 +155,7 @@ void Checkers :: turn()
{
state_ = NEEDLOC;
}
+
}
//ensures that they are ready to be asked to give a destination point.
@@ -185,7 +186,6 @@ void Checkers :: turn()
if(moveCheck(start_, dest_))
{
-
//superfluous for it's boolean check function, but used to ensure that the member variable
//is accurate for the current move and current jummped piece.
if(jumpedPiece(start_, dest_) || currentMoveType_ == UP || currentMoveType_ == DOWN)
@@ -398,7 +398,9 @@ void Checkers :: movePiece()
board_.at(start_).flip();
}
else
+ {
return;
+ }
}
void Checkers :: removePiece(Point p)
Please sign in to comment.
Something went wrong with that request. Please try again.