68b6493e5095fdd91e7556220923dba5d131ec9b
Introduce a new rotator button tile and mirror auto-rotation feature. CSS adds styles for rotator buttons and locked mirror display. JS: add legend entry and rotatorButtons config, track activeRotatorButtons and rotatorIntervals, implement rotateMirrorStep, isMirrorControlledByButton, syncRotatorButtons and stopAllRotatorButtons; wire rotator behavior into traceLaser and loadGrid so rotator buttons activate intervals that rotate target mirrors automatically and lock out manual rotation. Refactor rotateMirror to reuse rotation step logic and ensure rotator intervals are cleared when advancing levels.
Règles : Un rayon laser constant Un ou plusieurs laser Laser non movibles, on/off Mirroirs orientables Prisme (dédouble le laser ou le renvoi selon l'angle) Vitre colorée fixe ou placable par le joueur (r,j,b) Bouton allumable par clique souris (interaction porte, mirroir, etc) Bouton allumable par laser spécifique (interaction porte, mirroir, etc)
Rayon : Blanc -> rebondis seulement sur les mirroirs et s'arrête contre les murs Rouge -> Allumage boutons Bleu -> Rebondis sur toutes les surfaces Jaune -> Traverse tout (mirroir compris)
Systeme de placement d'objet par grille
Comptes utilisateur
Optionnel : timer, tableau de score,
Description
Languages
JavaScript
39.5%
HTML
39.2%
CSS
17.6%
Rust
3.7%