Hacker News new | ask | show | jobs
by kaffekaka 95 days ago
Out of curiosity, did you also implement scramble support? Or just the timing stuff?
1 comments

yes. claude added a suggested random scramble (if that's what you mean?), also running average of 5/12/100, local storage of past times on first iteration, my son told it to also add a button for +2s penalties and touch screen support.
Ok cool! I have not done any cubing related coding so I don't know how complicated it gets but making sure suggested scrambles are solvable etc seems like it could be non-trivial?
You just get a sequence of random moves to go from solved to scrambled, it's quite trivial.

See here if you're interested: stefansiegert.net/cube-timer

Let me know if you adapt it in any way, my son would be delighted to see open source work its magic :)

Ah of course, thank you. Defining the moves to get to the scramble makes sure it is solvable.