Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. backProp score winner z
  2. | (maxPlayers (treeState (zipperTree z))) == 1 = backPropHelper1 score z
  3. | (isDraw (outcome (treeState (zipperTree z)))) = backPropHelper1 score z
  4. | (isWin (outcome (treeState (zipperTree z)))) = backPropHelperMany score winner z
  5. | otherwise = (goToParent z)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement