|
That'd be more feasible as a browser plugin if there's a particular browser you use. Something like https://chrome.google.com/webstore/detail/day-counter/glnbjmdjpcccpdlckpenknmacmgbecpa?hl=en might be appropriate?
|
# ¿ Dec 7, 2017 09:35 |
|
|
# ¿ May 17, 2024 18:51 |
|
Step 3 is the important one. This command is used to discard all the map data except parking areas:code:
|
# ¿ Feb 24, 2020 07:39 |
|
Glad you got it sorted. For reference you could also surround the variable name in curly bracescode:
code:
|
# ¿ Mar 31, 2021 10:43 |
|
This is a really basic implementation, only bubblesort for now and no fancy styling/instructions. It's a single html file that you can download and run anywhere and should work in any reasonably modern browser. Using only basic HTML and JS concepts so it'll use default browser alerts for feedback/prompts, I was mainly interested in knocking something up with no dependencies so hopefully someone else can do a prettier version if that's desirable. https://ephphatha.github.io/html-sort-game/sort.html - instructions.
|
# ¿ Aug 14, 2021 15:24 |
|
Sad Panda posted:Lovely, thank you for knocking that together. Some quick feedback about functionality... 1, 2, 4 are all easy done, I've updated the js to handle that. Apologies for missing that requirement, I didn't actually download the program you linked to so I had/have no idea what the existing behaviour is like. 3 is because of the use of default alerts. Browsers don't give any room for customising these simple dialogs so a different approach is needed to make it more user friendly. Your suggestions sounds good, I was mainly trying to avoid having buttons appear/disappear repeatedly on the page as it make the logic slightly more complicated and I'm lazy. Would you be comfortable having the buttons always be visible? Do they need to appear to the right of the lists or would it be acceptable to have Skip/Next/Finished/New Pass buttons in a row? I've updated the hotkeys and embedded the instructions on the page below the buttons, same link as before.
|
# ¿ Aug 15, 2021 02:46 |
|
Most of the state has been handled by css classes and the dom itself so I've added ".dirty" as a class for (the first of the pair of) items which have been swapped. This isn't made visible with a style rule or copied to the history, but could be done if you wanted to make it more visible by adding a rule to the style section similar to the following:code:
|
# ¿ Aug 19, 2021 13:49 |
|
|
# ¿ May 17, 2024 18:51 |
|
Sad Panda posted:Thank you for that update I've been playing around and here's the next bit of feedback. I actually updated this to fix 1 and 3 a few days back, never got around to posting to let you know. 2 is a side effect of using browser alerts. I have a timeout set before it pops up in the hopes that the browser renders the changes but it's still not consistent. I'll get in touch via PM about the enhancements you suggested here since I don't wanna dominate the thread
|
# ¿ Aug 29, 2021 11:07 |