From 42e5aea9cacb7cca91f96c5c9e7754e2c52f76f3 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 27 May 2016 23:00:42 +0200 Subject: [PATCH] fix --- html/testBot.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/testBot.html b/html/testBot.html index 9da8c3d..9daa02e 100644 --- a/html/testBot.html +++ b/html/testBot.html @@ -127,7 +127,7 @@ function play(player){ if(xhr.status == 200) { var response=xhr.responseText; - var t = new RegExp('/[0-6]/'); + var t = new RegExp('^[0-6]$'); if (t.test(response)){ playingAT(response); }else{