From e63a678a8fdde888620b6d5a5059bd0f37141592 Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 25 Nov 2015 13:27:43 -0600 Subject: cleaned wander and added heuristic movement that doesnt work --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 8f5208f..75847a2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,9 +26,9 @@ int main() else if (c == 'l') l.y = l.y+1; else if (c == 'k') - l.x = l.x+1; - else if (c == 'j') l.x = l.x-1; + else if (c == 'j') + l.x = l.x+1; else if (c == 'q') break; else if (c == 'p') -- cgit v1.2.3