I got stuck in room 2, possibly because of an issue specific to my keyboard.
The hint says there is more than one Shift, and I think it refers to the right Shift key, but no matter what I do, it doesn't work.
I had a similar problem with a different game. In that case, the cause was that the game checked for the 'ShiftRight' event code to detect the right Shift key.
That game was made in Unity and built for WebGL, but since both games run in the browser, I guess they could share the same problem.
If so, it could be solved by also treating a Shift input with an empty event code as the right Shift.
Since even the 'location' field is 0, the browser can't tell which Shift it is, so checking for an empty 'code' seems to be the only workaround.
I liked the minimalist style and the concept so far, so I'd love to see the rest once this is fixed.
Here is a JSON comparison for better understanding. The first one is the left Shift key, and the second one is the right Shift key.
I don't know why, but my keyboard somehow doesn't fill in the 'code' field.
I'm using Chrome on Windows 11 with a Korean keyboard.
{
"key": "Shift",
"keyCode": 16,
"which": 16,
"code": "ShiftLeft",
"location": 1,
"altKey": false,
"ctrlKey": false,
"metaKey": false,
"shiftKey": true,
"repeat": false
}
{
"key": "Shift",
"keyCode": 16,
"which": 16,
"code": "",
"location": 0,
"altKey": false,
"ctrlKey": false,
"metaKey": false,
"shiftKey": true,
"repeat": false
}