YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
3×3 Rubik's‑Style Color Password System (Gradio)
A Hugging Face Spaces‑ready simulator. Click tiles to cycle colors in this strict order:
Red → Yellow → Green → Blue → White → Orange → (repeat)
Each of the 6 sides has a fixed center color (its "middle"). You can save a custom code (the full 3×3 pattern) per side, shuffle tiles, and try to unlock by recreating the saved pattern.
Files
app.py– the Gradio app.requirements.txt– dependencies.
How to deploy on Hugging Face
- Go to Hugging Face → New Space → Static: Gradio (Python).
- Give it a name, keep defaults.
- Upload both files (
app.pyandrequirements.txt) to the Space. - Wait for it to build. When it’s ready, open the Space.
How to use
- Pick a Side. Its center tile is locked to the stated middle color.
- Click 🔀 Randomize to shuffle the 8 non-center tiles.
- Arrange tiles by clicking them (each click cycles the color).
- Press 💾 Set Code to save the current pattern for this side.
- Shuffle again and try to reproduce the code; hit 🔓 Unlock to check.
- Use Show Code Preview if you want a small peek at the saved code.
- ♻️ Reset Side or 🧹 Reset All if needed.
Enjoy!
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support