Open zigrab opened 9 years ago
Alt name: checkMove would match up with playMove. Although isMoveValid starts with is which is good for boolean stuff.
checkMove
playMove
isMoveValid
is
Will have to take in a Move object and a player ID. Do all checks to make sure the move isn't cheating/is possible etc., return true/false.
Move
I think playerId should probably be stored in the Move class.
Alt name:
checkMove
would match up withplayMove
. AlthoughisMoveValid
starts withis
which is good for boolean stuff.Will have to take in a
Move
object and a player ID. Do all checks to make sure the move isn't cheating/is possible etc., return true/false.I think playerId should probably be stored in the
Move
class.