added maxMoves var for controlling the amount of moves per turn
.