P to toggle parity challenge

This commit is contained in:
heav-4 2020-07-17 01:15:48 +01:00 committed by GitHub
parent a063bc5070
commit 0a4a8fa56a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -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){