Lurker News
Hi all, hope someone enjoys (or not) my weekend project. See how many matching pairs you can find in two minutes.

This is written in C++ and built to WebAssembly with Emscripten. The code is at https://github.com/0xf00ff00f/rotator

Comments (195) 98 threads

Earlier comments
noobermin#
It is important that people don't take this thing seriously.

As an undergraduate in physics, I sort of prided myself on being able to "derive things from scratch" which is the culture in physics, given profs gave tests with the formulae and physical constants so you never really had to memorize, you just needed to show your work. At the time, honestly, I looked down humanities and history and even bio students as they were just memorizers who didn't have a deep understanding of things.
When I went to graduate school, one of my best professors said he heard people amongst my cohort saying things like this, that physicists are good a deriving and are not memorizers, he made the joke that he thought that people saying this were doing so to weaken the competition, so to speak. The idea that any set of skills is not necessary to be a scientist just makes you a worse scientist than others who have those skills. At this point in life, I've learned that holding on to things like your MBTI scores as if it's your identity honestly just limits you. Like imagine saying, "I'm a python person, I'm not able to do ruby. It's against my personality," instead of it really being what it should be seen as, just another skill to learn or one your just haven't learned yet (or might not even want to!) Instead, saying "I use python in my daily work, I'm less familiar with ruby" makes more sense because that's how it is. So, ditto that with everything else honestly, I feel like people can have preferences and that's fine, like you can enjoy reading a book more than playing a video game with spatial reasoning, but limiting yourself to being a "math person" or a "people person" or a "reading person" is just that, limiting yourself.

akomtu#
That's brutal. On my first attempt I've matched only 2 shapes. The naive approach is to match each pair, and with 15 pairs total, that's gonna take time, even though you need to check only 7.5 pairs on average. A better approach is to "hash" each shape and find the duplicate hash in linear time, which is 3 comparisons on average. The hash can be computed logically, by counting turns the shape takes, or, after looking at hundreds of such shapes, one should be able to "hash" shapes subconsciously, and that will be a dramatic speed up.

I suggest you make a similar problem: matching small isomorphic graphs. I think that's what a lot of software engineeting is really about.

anyfactor1 reply#
First game

- I briefly go through each shapes
- Anchor on a particular shape
- Check other shapes based on that shapes
- Realize the number of cubes is the distinguishing factor not the shape itself
- Exclude the first focused shape from future comparison
- Try to compare 2 shapes randomly
- And after 4 clicks of match attempts I find a match
2nd Game
- Go through the first 2 rounds with ease as they were essentially in the same row or the same column
- Second game I get confused as the obvious matches aren't obvious
- I time out
- I didn't even notice how the timing worked in the first game
3rd game
- I try to count the number of blocks between each 'lines' of shapes
- But for shapes that have 3 or more turn of these lines matching them is very difficult

capableweb1 reply#
First game

- I quickly glance each shape
- Select the ones that "feel" more similar.
- Scored 13 on my first run
Sometimes I think thinking less is better. Same for a lot of sports, things that require careful motor control and fast-pacing.

keithnz#
yeah, I was similar, my brain just told me the right ones, I didn't really have to work it out.

Load more comments