| 'q' -> { inter with x = inter.x - 1 }
| 's' -> { inter with y = inter.y - 1 }
| 'd' -> { inter with x = inter.x + 1 }
+ | 'Z' ->
+ Automata.set inter.x inter.y inter.current board;
+ { inter with y = inter.y + 1 }
+ | 'Q' ->
+ Automata.set inter.x inter.y inter.current board;
+ { inter with x = inter.x - 1 }
+ | 'S' ->
+ Automata.set inter.x inter.y inter.current board;
+ { inter with y = inter.y - 1 }
+ | 'D' ->
+ Automata.set inter.x inter.y inter.current board;
+ { inter with x = inter.x + 1 }
| '\t' -> { inter with running = true }
| _ -> inter
else inter