HN user

sam-

24 karma
Posts0
Comments6
View on HN
No posts found.

https://typeracelive.com/

I wasn't satisfied with other type racing sites because they were not real time enough for me. I wanted to be able to see exactly where the other racers' cursors were and where they made errors.

I don't expect to make money any off of this, but it was fun to build and I find it fun to play with my friends every once in a while.

The stack is React and ChartJS in the FE (that's it), and Rust with Warp in the BE.

NOTE: it looks like it's not ordinarily working even when switched on.

I find the :has() selector very useful in certain cases, but firefox doesn't support it yet and like you said, it doesn't work very well even when enabled. What I have done for Firefox is use the `@supports selector` query [1] and fallback to some equally functional but not as nicely styled UI with the hope that when Firefox supports it, it will automatically provide the nicer UI.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@supports#f...