can confirm that this still happens even after refreshing the browser. i also noticed that the power button is triggered like a half command late so maybe that's what's causing the error in reading commands the second time around. not sure, i don't know how you programmed it to read the order of commands.
Anyway, I wanted to end this on a positive note: I really like the game concept. I've seen a ton of quasi-programming game puzzles like this (turtles, little robots, etc., etc.) and this one was actually a fun one to do. I like the added puzzle layer of having the die be up on a specific face. There's a lot of potential here, I think, and I'm hoping that the levels show some kind of added layer of complexity with the mechanics already present. The music is nice and I also like the responsiveness(?) that I feel with the sfx. Something that I would like to see added/improved is just a QoL thing—a more convenient way of inputting commands would be nice (arrow keys? single click for which function to input in, then double click commands to input them in that order?)
Good luck!