rsazra in the style of the old provo flag

clickings

clickings with the dots theme

you can try clickings at rsazra.com/clickings

why

Sometimes I feel like typing. Just typing. My go to site for this is typings.gg. I like that it's simple, lightweight, open source, and has tons of themes available.

Sometimes I feel like clicking. Just clicking. The best I found for this was the human benchmark aim trainer test, but it is not open source, has no themes, gives a weird metric, and has no options for game length. It also doesn't feel quite as satisfying as I want it to. So instead, I often open up chess.com to do some puzzles or lichess.org to play some bullet. This has its own issues though: In the middle of a work day, a losing streak can really ruin my mood. A winning streak isn't much better, because I'll probably end up wasting a lot more time than I intended to. And this also requires that I think, which I am usually trying to avoid when I get in a mood for this.

I haven't looked very hard, but since I never came across a test that fit my needs, I decided to make one. And since typings is open source, I decided to fork it, and use it as inspiration.

making clickings

I made very few changes to the main HTML and CSS of typings. The Javascript obviously saw major changes, but code for setting options, changing themes, and managing cookies was left mostly untouched, and I used the game logic as inspiration for writing clickings. I didn't change much for the results calculation and also didn't really double check it, so hopefully it's correct.

Most of the changes are related to drawing to the screen. Embarrassingly, I had never heard of the HTML <canvas> tag until very recently. I thought it was really cool and wanted to try using it. This seemed like the perfect project for it, and I think it pretty much was, but there were some peculiarities I wasn't expecting.

If you'd like to know more, the project is public on GitHub and the code is fairly easy to read. Feel free to contact me with any questions or suggestions.

other notes


Posted: 2024-03-16