aboutsummaryrefslogtreecommitdiff
path: root/judge/main.ml
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-11-10 20:03:58 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-11-10 20:03:58 +0100
commite4fe9fdf42bde26609ed3c53b012f911e225b971 (patch)
treee0d9e9c78ae1c6e1b5454e7c83cc0fbcfb4fbfa9 /judge/main.ml
parent9aa8b3a702c65f47033651e770ab3755a0210c16 (diff)
parent3fdf270456da15447c5a57851610888e2f510574 (diff)
downloadCompetIA-e4fe9fdf42bde26609ed3c53b012f911e225b971.tar.gz
CompetIA-e4fe9fdf42bde26609ed3c53b012f911e225b971.zip
Merge branch 'master' into ocaml-3.12
Diffstat (limited to 'judge/main.ml')
-rw-r--r--judge/main.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/judge/main.ml b/judge/main.ml
index 85c09b6..61735f0 100644
--- a/judge/main.ml
+++ b/judge/main.ml
@@ -75,6 +75,8 @@ end = struct
curr_view := NavGame (g, n+1)
| NavGame (g, n), 'f' when n = List.length (C.hist g) - 1 ->
curr_view := NavGame (g, -1)
+ | NavGame(g, _), 'a' -> curr_view := NavGame(g, 0)
+ | NavGame(g, _), 'z' -> curr_view := NavGame(g, -1)
| ViewLastGame, '\t' | NavGame _, '\t' -> curr_view := MatchList false
| Question(_, y, n), 'y' -> y()
| Question(_, y, n), 'n' -> curr_view := n