Devlog #3:
I SWEAR THIS IS NOT INTENDED (ENTIRELY) AS A CSTIMER CLONE.
Soooo… I added scrambles to my web app. (You can see the current scramble above the time).
I just used JavaScript random to pick from the basic 6 moves a 3x3 Rubik’s cube, as well as a modifier (normal, prime (counterclockwise), and 2 (twice). This move is then checked against the previous move so that there won’t be any cases of someone having to do the same move twice in a row. Every time the timer stops, a new scramble is generated and replaces the old one.
Also, I added a delay of one second that the user has to hold to trigger the timer. In addition to that, the timer now changes colour when you’re holding the spacebar down before starting the timer. It’s green if the timer will start when you release it, and red if it’ll just cancel the timer.
Wow, this is looking more and more like a CSTimer clone, right?
(honestly I agree)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.