? Rubik's cube solving timer ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Creep into the Halloween / Horror Programming Contest (Deadline Extended)

Rubik's cube solving timer

Submitted
Updated
Author
12Me21
Public Key
REMOVED
Min. Compat.
All
Rating
1 vote
Description For speedcubers Instructions 0: press OK on the annoying save dialog 1: tap the screen OR press the D-Pad and a button to start (the one you use at the beginning determines what it will allow you to use later) 2: scramble the cube using the randomly generated algorithm 2.5: use the circle pad (up/down) to switch between 2x2/3x3 and 4x4/5x5 mode 2.75: press L+R to switch the save file, and enter the file number (or press back to use the default file), then press OK, etc. on the save dialogs 3: tap the screen to start the timer (time starts when you stop touching the screen) 4: solve the cube 5: touch the screen to stop the timer 6: press OK when asked to save, repeat. 6.5: if you got a +2 penalty (or want to change the time), press "NO" (or whatever it says) when asked to save, enter the additonal time, then press OK, YES, etc. Notes The numbers on the bottom screen are your previous times. The grey number at the bottom of the upper screen is your average
Categories
Keywords
10 Comment(s) Super_Defaultio Super_Defaultio First Month Joined in the very first month of SmileBASIC Source Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself What happened to this? I needed to redownload it since I got my new SD card.... sniff. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS I'll reupload it when they fix gold membership 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS The new update is finished! Features:
  1. Multiple save files (press L+R on the scramble menu)
  2. Now supports 4x4 and 5x5 rubik's cubes (use the circle pad to switch between them)
  3. I probably fixed some bugs
  4. You can now use the d-pad + A/B/X/Y instead of the touch screen!
12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS I want to allow it to detect all possible combinations of dpad and ABXY. IF (BUTTON() AND (1 OR 2 OR 4 OR 8)) && (BUTTON() AND (#A OR #B OR #X OR #Y) should work, and simplifies to: IF (BUTTON()AND 15)&&(BUTTON()AND 240) EDIT! It works! I will include this in the next update Until then, just replace the RETURN... in DEF TCHST() with (BUTTON()AND 15)&&(BUTTON()AND 240) I just hope pressing A and B doesn't interfere with the save dialog phil_ phil_ Scholar Received for knowing a great deal about programming topics Achievements osu! Is Awesome! I love osu! Express Yourself First Day Joined on the very first day of SmileBASIC Source Website What about using IF BUTTON()==18 THEN BLAH to test if your fingers are down? That means you'd have to press Down+A, so two hands are encouraged. joelable joelable First Day Joined on the very first day of SmileBASIC Source Website Night Person I like the quiet night and sleep late. Express Yourself Video Games I like to play video games! Hobbies im a speedcuber. this is fun to use. yet doesnt function completely as a solving timer, since defaultios point about the both hands thing makes sense. Super_Defaultio Super_Defaultio First Month Joined in the very first month of SmileBASIC Source Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself You should implement 2-button timer starting... Like press Up+A with both hands, to ready the timer, when you release the timer starts. Does this work on a 2x2? What do you mean by a +2 penalty? 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Yes, it works on a 2x2. However, I don't think it will work for anything more than a 3x3x3, though I'll add support for some other cubes in the next update If you stop the timer when you are one move away from solving, you are supposed to add 2 seconds to your time. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Does anyone have any preference for which algorithm type I use for scrambling 4x4 and up? I think the lowercase letters (udlrfb) one would be easier, though IDK how it would work for 6x6 and up 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS My best time is: ERROR