aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index b72a531..913ff96 100644
--- a/main.c
+++ b/main.c
@@ -56,16 +56,16 @@ void game_loop(board *b) {
printf("Make a move:\n");
fgets(c, sizeof(c), stdin);
switch(c[0]) {
- case 'h':
+ case 'a':
d = west;
break;
- case 'j':
+ case 's':
d = south;
break;
- case 'k':
+ case 'w':
d = north;
break;
- case 'l':
+ case 'd':
d = east;
break;
case 'q':