From 0a4a8fa56a02fd9a0c94eb293bd83349d63c99b8 Mon Sep 17 00:00:00 2001 From: heav-4 <46372165+heav-4@users.noreply.github.com> Date: Fri, 17 Jul 2020 01:15:48 +0100 Subject: [PATCH] P to toggle parity challenge --- index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 1c74650..b04a470 100644 --- a/index.html +++ b/index.html @@ -340,9 +340,10 @@ makeent(3,3,"player",{}) px=3 py=3 - paritychallenge=false - //uncomment the following line and then reset to enable parity challenge - //paritychallenge=true + break; + case 80: + paritychallenge=!paritychallenge + turn({keyCode:82}) break; } if (px+dx<0||px+dx>49||py+dy<0||py+dy>49){