Already addicted to this game! The idea of having at least 2 keys active is just great! 👍
A little dev note
e.keyCode (just has e.which) has been deprecated. Instead, you get to use some way cooler stuff: e.key, e.code: you don't get an integer like you would with keyCode or which, you get the actual pressed letter. Say you press d, you'd get:
e.key = 'd'
e.code = 'keyD'
On any web page, open up the console and paste this so that you can see the different value it can take:
Already addicted to this game! The idea of having at least 2 keys active is just great! 👍
A little dev note
e.keyCode
(just hase.which
) has been deprecated. Instead, you get to use some way cooler stuff:e.key
,e.code
: you don't get an integer like you would withkeyCode
orwhich
, you get the actual pressed letter. Say you pressd
, you'd get:On any web page, open up the console and paste this so that you can see the different value it can take:
(try ctrl 😉)
I noticed it because it doesn't work on Firefox Nightly.
The font?
Could you try to change the font to a monospaced one so that we don't confound the
0
ando
?Same. And I'm pretty sure it's what everyone feels when they discover this...
Current best score:
18
Thanks @math2001 for the feedback. I made the changes.
Thanks again :)