mirror of
https://github.com/heav-4/apioform
synced 2025-01-21 14:37:01 +00:00
P to toggle parity challenge
This commit is contained in:
parent
a063bc5070
commit
0a4a8fa56a
@ -340,9 +340,10 @@
|
|||||||
makeent(3,3,"player",{})
|
makeent(3,3,"player",{})
|
||||||
px=3
|
px=3
|
||||||
py=3
|
py=3
|
||||||
paritychallenge=false
|
break;
|
||||||
//uncomment the following line and then reset to enable parity challenge
|
case 80:
|
||||||
//paritychallenge=true
|
paritychallenge=!paritychallenge
|
||||||
|
turn({keyCode:82})
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (px+dx<0||px+dx>49||py+dy<0||py+dy>49){
|
if (px+dx<0||px+dx>49||py+dy<0||py+dy>49){
|
||||||
|
Loading…
Reference in New Issue
Block a user