Live data from Hacker News

Show HN: A simple Wordle clone in 60 lines, using Hyperscript

arhamjain.com

21–30 of 53 posts

Re: Show HN: A simple Wordle clone in 60 lines, using Hyperscript

#22
post #20

Hyperscript already has an established meaning in this space, as a pure JS-based syntax alternative to JSX. See https://github.com/hyperhype/hyperscript and all its descendants, like Mithril, HyperApp or Sinuous. Could you please think of another name ?

It seems to be this one:

https://github.com/bigskysoftware/_hyperscript

https://hyperscript.org/

but not sure it's anything to do with the OP though

Re: Show HN: A simple Wordle clone in 60 lines, using Hyperscript

#24
> build 80% of Wordle in a different language

I have been trying to do the same thing! I was looking for projects on github that I could adapt to a new language. Sadly, most of them require a server. It seemed to me that this game could pretty easily just run on the client alone.

I will dig into yours and see how it can be adapted to different languages too :)

Re: Show HN: A simple Wordle clone in 60 lines, using Hyperscript

#25
post #20

Hyperscript already has an established meaning in this space, as a pure JS-based syntax alternative to JSX. See https://github.com/hyperhype/hyperscript and all its descendants, like Mithril, HyperApp or Sinuous. Could you please think of another name ?

It seems to be this one: https://github.com/bigskysoftware/_hyperscript https://hyperscript.org/ but not sure it's anything to do with the OP though

Look at the source, it is written with that language/framework.

I seems they want to pull a Substack. Color me unimpressed.

Re: Show HN: A simple Wordle clone in 60 lines, using Hyperscript

#26

Earlier quoted context omitted.

Wait until you find out how big the browser that runs that code is!

Do you download the browser on every request? Of course 168kB is still nothing but your comparison is flawed.

hyperscript is ~22k gziped and cached after the first request

the size is not an issue

now, the runtime on the other hand...

Re: Show HN: A simple Wordle clone in 60 lines, using Hyperscript

#27

every key press takes 4 seconds to update the ui, if this is supposed to be a showcase for hyperscript, its not doing too well.

what machine/browser are you on?

the hyperscript runtime is defintely... pedestrian

Re: Show HN: A simple Wordle clone in 60 lines, using Hyperscript

#29
post #25

Earlier quoted context omitted.

It seems to be this one: https://github.com/bigskysoftware/_hyperscript https://hyperscript.org/ but not sure it's anything to do with the OP though

Look at the source, it is written with that language/framework. I seems they want to pull a Substack. Color me unimpressed.

He used the framework, not named it.

Re: Show HN: A simple Wordle clone in 60 lines, using Hyperscript

#30

On Safari on iOS, at least, typing fast will accidentally zoom into that part of the page instead of registering it as a character press. But pretty neat implementation otherwise. Awesome work!

i see it slowing down on mobile safari as well

will be a great chance to optimize the hyperscript runtime for mobile

Post reply on HN