# HG changeset patch # User Michael Pavone # Date 1406527906 25200 # Node ID f4f403c83e8040029ecd24dc5cf0153daf805e4d # Parent 76570158a6e94af8cf593610f4148503a1417a50 Small ghost AI change. Doesn't seem to change results, but closer to my actual intent diff -r 76570158a6e9 -r f4f403c83e80 code/ghost0.gq --- a/code/ghost0.gq Sun Jul 27 22:34:37 2014 -0700 +++ b/code/ghost0.gq Sun Jul 27 23:11:46 2014 -0700 @@ -105,7 +105,7 @@ tmp <- 0 i <- 0 - while: { i < 2} do: { + while: { i < 3} do: { targetX <- getDirX: firstChoice myX targetY <- getDirY: firstChoice myY @@ -123,7 +123,7 @@ secondChoice <- opDir: firstChoice i <- i + 1 } else: { - i <- 2 + i <- 3 } } }