News for hackers. Stuff that matters.
Re:Show HN: A full game of snake encoded in a url by gabrielsroka on Sunday January 08, 2023 @06:30AM (#34298203)
You should be able to change

  e.addEventListener("keyup"...
to

  e.onkeyup=...
but I haven't tested it.
Re:Show HN: A full game of snake encoded in a url by lbatchelor on Sunday January 08, 2023 @09:44AM (#34299484)
Ooh! Don't know how I missed that, I'll give it a go! Cheers!