Mercurial > repos > icfp2014
changeset 68:f4f403c83e80
Small ghost AI change. Doesn't seem to change results, but closer to my actual intent
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 27 Jul 2014 23:11:46 -0700 |
parents | 76570158a6e9 |
children | 8a0f1447c034 |
files | code/ghost0.gq |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 } } }