To run this code:
- Download code from https://github.com/cubing/twizzle-diaries/archive/refs/heads/main.zip (or
git clone
, if you know how)- Unzip and enter the
ep4-scramble-demo
folder.
- Unzip and enter the
- Start a web server. For example:
- If you're not familiar the commandline, consider something like this Chrome extension to serve the folder.
- If you're familiar with the commandline, one of these may be convenient:
- Python 3:
python3 -m http.server
node
&npm
:npx http-server
caddy
:caddy file-server --listen :8000 --browse
- Python 3:
- The code that gets the event from the URL now includes
?? "333"
. This will default to 3x3x3 if no event is specified in the URL bar.