-
Notifications
You must be signed in to change notification settings - Fork 7
Battlefield
Ashish Mahindrakar edited this page Feb 14, 2018
·
4 revisions
- positions - list of all positions on Battlefield
- lakeAreas - list of all lake positions
-
getFieldInfoOfreturns piece positions of a given team. -
setUpFieldOfsets the field of particular given team. -
getPotentialMovesOfreturns the potential moves of a piece at given location. -
attackreturns the dead piece when an attack happens between pieces at given location. -
addPieceput given piece on given location -
removePieceremoves and give back the piece at give location -
updateFieldInfoupdate positions