maze_env / VISUAL_GUIDE.md
ViditOstwal's picture
Upload folder using huggingface_hub
ee84aea verified
# ๐ŸŽจ MazeBench UI Visual Guide
This document describes the visual layout and design of the custom MazeBench frontend.
## ๐Ÿ–ผ๏ธ Overall Layout
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ HEADER โ”‚
โ”‚ โ„๏ธ MAZE BENCH ENVIRONMENT โ”‚
โ”‚ ICE SLIDING PUZZLE โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ โ”‚ โ”‚ โ”‚
โ”‚ LEFT โ”‚ CENTER โ”‚ RIGHT โ”‚
โ”‚ PANEL โ”‚ PANEL โ”‚ PANEL โ”‚
โ”‚ โ”‚ โ”‚ โ”‚
โ”‚ Controls โ”‚ Game Board โ”‚ Telemetry โ”‚
โ”‚ D-Pad โ”‚ โ”‚ Live Stats โ”‚
โ”‚ Status โ”‚ [Maze Grid Display] โ”‚ Rewards โ”‚
โ”‚ โ”‚ โ”‚ Observation โ”‚
โ”‚ โ”‚ โ”‚ Move History โ”‚
โ”‚ โ”‚ โ”‚ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
## ๐Ÿ“ Detailed Layout
### Header Section
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ โ”‚
โ”‚ โ„๏ธ MAZE BENCH ENVIRONMENT โ”‚
โ”‚ (2.5rem, 900 weight, letter-spacing: 3px) โ”‚
โ”‚ โ”‚
โ”‚ ICE SLIDING PUZZLE โ”‚
โ”‚ (0.9rem, 700 weight, letter-spacing: 4px) โ”‚
โ”‚ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Background: Linear gradient (dark blue shades)
- Border: 1px solid line color
- Text: White with blue glow shadow
- Center aligned, full width
---
### Left Panel (320px wide)
#### 1. Controls Section
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ CONTROLS โ”‚ โ† Section title
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ ๐Ÿ”„ โ”‚ ๐Ÿ“Š โ”‚ โ”‚
โ”‚ โ”‚ RESET โ”‚ STATE โ”‚ โ”‚ โ† Two buttons
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Buttons: Gradient backgrounds, hover lift effect
- Icons: Emoji for visual identity
- Grid layout: 2 columns
#### 2. Level Selection
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ LEVEL SELECTION โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Choose Level (1-30) โ”‚
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ Level 0 โ–ผ โ”‚ โ”‚ โ† Dropdown
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Dropdown: Custom styled select
- Arrow icon: Blue chevron
- 30 level options (0-29)
#### 3. Direction Pad
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ DIRECTION PAD โ”‚
โ”‚ Use arrow keys or WASD โ”‚ โ† Hint text
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ โ•”โ•โ•โ•โ•— โ”‚
โ”‚ โ•‘ โ–ฒ โ•‘ โ”‚ โ† Up button
โ”‚ โ•šโ•โ•โ•โ• โ”‚
โ”‚ โ•”โ•โ•โ•โ•— โ•”โ•โ•โ•โ•— โ•”โ•โ•โ•โ•— โ”‚
โ”‚ โ•‘ โ—€ โ•‘ โ•‘ โ€ข โ•‘ โ•‘ โ–ถ โ•‘ โ”‚ โ† Left, Center, Right
โ”‚ โ•šโ•โ•โ•โ• โ•šโ•โ•โ•โ• โ•šโ•โ•โ•โ• โ”‚
โ”‚ โ•”โ•โ•โ•โ•— โ”‚
โ”‚ โ•‘ โ–ผ โ•‘ โ”‚ โ† Down button
โ”‚ โ•šโ•โ•โ•โ• โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- 3x3 grid layout
- Corner slots: Empty dashed borders
- Center: Static core (non-interactive)
- Arrows: Large, bold, blue colored
- Hover: Lifts up with glow effect
#### 4. Session Status
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ SESSION STATUS โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ โšก Ready to start... โ”‚ โ† Icon + message
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Icon changes based on state
- Dark inset background
- Updates with each action
---
### Center Panel (Flexible width, ~600px)
#### Game Board Area
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ โ”‚
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ # # # # # # # # # # โ”‚ โ”‚
โ”‚ โ”‚ # . . . . . . . . # โ”‚ โ”‚
โ”‚ โ”‚ # . . . . . . . . # โ”‚ โ”‚
โ”‚ โ”‚ # . . a . . . . . # โ”‚ โ”‚ โ† Maze grid
โ”‚ โ”‚ # . . . . . . . . # โ”‚ โ”‚ (48px cells)
โ”‚ โ”‚ # . . . . . . e . # โ”‚ โ”‚
โ”‚ โ”‚ # . . . . . . . . # โ”‚ โ”‚
โ”‚ โ”‚ # # # # # # # # # # โ”‚ โ”‚
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚ โ”‚
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ โœจ PUZZLE SOLVED โœจ โ”‚ โ”‚ โ† Solved banner
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ (if completed)
โ”‚ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
**Cell Types:**
- `#` Wall: Blue gradient, inset shadow
- `.` Path: Dark blue, flat
- `e` Exit: Green tint, rotating diamond โ—‡
- `a` Agent: Glowing blue orb โ—
- `b` Agent on Exit: Blue orb on green background
**Animations:**
- Exit diamond pulses (scale + opacity)
- Agent orb glows (shadow intensity)
- Board fades in on load
- Solved banner slides up with celebration
---
### Right Panel (380px wide)
#### 1. Live Stats
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ TELEMETRY โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ LIVE STATS โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ Level โ”‚ โ”‚
โ”‚ โ”‚ 5 โ”‚ โ”‚ โ† Full width
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ Moves โ”‚ Status โ”‚ โ”‚
โ”‚ โ”‚ 12/50 โ”‚ RUNNING โ”‚ โ”‚ โ† 2 columns
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Grid layout: 1 full + 2 half columns
- Values: Large, bold font
- Status: Blue (running) or Green (solved)
#### 2. Rewards Panel
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ Total Rew. โ”‚ Last Step โ”‚ โ”‚
โ”‚ โ”‚ +2.340 โ”‚ -0.010 โ”‚ โ”‚ โ† Large numbers
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚ โ”‚
โ”‚ Recent step rewards โ”‚
โ”‚ (newest โ†’ oldest) โ”‚
โ”‚ โ”Œโ”€โ”€โ”ฌโ”€โ”€โ”ฌโ”€โ”€โ”ฌโ”€โ”€โ”ฌโ”€โ”€โ”ฌโ”€โ”€โ”ฌโ”€โ”€โ”ฌโ”€โ”€โ” โ”‚
โ”‚ โ”‚+1โ”‚-1โ”‚+0โ”‚-1โ”‚+2โ”‚-1โ”‚+0โ”‚-1โ”‚ โ”‚ โ† Pill chips
โ”‚ โ””โ”€โ”€โ”ดโ”€โ”€โ”ดโ”€โ”€โ”ดโ”€โ”€โ”ดโ”€โ”€โ”ดโ”€โ”€โ”ดโ”€โ”€โ”ดโ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Total: Large (1.8rem), green/red colored
- Step: Medium (1.4rem), green/red/gray
- Chips: Rounded pills, last 8 rewards
- Colors: Green (+), Red (-), Gray (0)
#### 3. Observation Panel
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ OBSERVATION โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ Players โ”‚ 1 โ”‚ โ”‚
โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค โ”‚
โ”‚ โ”‚ Agent Posโ”‚ [[3,4]] โ”‚ โ”‚ โ† Monospace
โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค โ”‚
โ”‚ โ”‚ Exit Pos โ”‚ [[6,7]] โ”‚ โ”‚ โ† Monospace
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚ โ”‚
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ ๐Ÿ’ฌ Moved LEFT. Step 12. โ”‚ โ”‚ โ† Message
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Key-value pairs
- Positions: Monospace font, blue color
- Message: Icon + text, slides in
#### 4. Move History
```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ MOVE HISTORY โ€” newest left โ”‚
โ”‚ (showing 10 of 10) โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ โ–ถ โ–ฒ โ–ฒ โ–ถ โ–ผ โ—€ โ–ฒ โ–ถ ... โ”‚ โ”‚ โ† Horizontal scroll
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```
- Horizontal scroll strip
- Last 30 moves shown
- Arrow icons: โ–ฒ โ–ผ โ—€ โ–ถ
- Recent moves: Bright blue
- Old moves: Muted gray
---
## ๐ŸŽจ Color Palette
### Background Colors
```
Deep: #0d1525 โ–ˆโ–ˆโ–ˆ Darkest background
BG1: #111827 โ–ˆโ–ˆโ–ˆ Primary background
BG2: #151e2e โ–ˆโ–ˆโ–ˆ Secondary background
Panel: #1a2438 โ–ˆโ–ˆโ–ˆ Card backgrounds
Panel Mid: #1e2a40 โ–ˆโ–ˆโ–ˆ Gradient mid-point
Panel Inset:#0f1929 โ–ˆโ–ˆโ–ˆ Inset areas
```
### Border & Line Colors
```
Line: #2a3a52 โ–ˆโ–ˆโ–ˆ Primary borders
Line Soft: #1e2d42 โ–ˆโ–ˆโ–ˆ Subtle borders
```
### Text Colors
```
Text: #c8daf0 โ–ˆโ–ˆโ–ˆ Body text
Text Head: #e2eeff โ–ˆโ–ˆโ–ˆ Headings
Muted: #4a6080 โ–ˆโ–ˆโ–ˆ Secondary text
```
### Accent Colors
```
Blue: #38bdf8 โ–ˆโ–ˆโ–ˆ Primary actions
Blue Bright:#0ea5e9 โ–ˆโ–ˆโ–ˆ Buttons
Blue Dim: #1e6fa8 โ–ˆโ–ˆโ–ˆ Hover states
Green: #10b981 โ–ˆโ–ˆโ–ˆ Positive/Success
Green Dim: #065f46 โ–ˆโ–ˆโ–ˆ Green tints
Red: #f87171 โ–ˆโ–ˆโ–ˆ Negative/Error
Amber: #f59e0b โ–ˆโ–ˆโ–ˆ Warning
Purple: #a78bfa โ–ˆโ–ˆโ–ˆ Special states
```
## ๐ŸŽญ Visual Effects
### Shadows
```css
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45); /* Cards */
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3); /* Header */
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2); /* Buttons */
```
### Gradients
```css
/* Card backgrounds */
linear-gradient(180deg, #1a2438 0%, #1e2a40 100%)
/* Button backgrounds */
linear-gradient(180deg, #1e2a40, #0f1929)
/* Primary button */
linear-gradient(135deg, #0ea5e9, #1e6fa8)
/* Wall cells */
linear-gradient(135deg, #2563a8, #1a4a80)
/* Exit cells */
linear-gradient(180deg, #0a2a1e, #052016)
/* Solved banner */
linear-gradient(135deg, #10b981, #059669)
```
### Animations
```css
/* Board appearance */
@keyframes fadeIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}
/* Exit marker pulse */
@keyframes pulse {
0%, 100% { opacity: 1; transform: rotate(45deg) scale(1); }
50% { opacity: 0.7; transform: rotate(45deg) scale(0.95); }
}
/* Agent glow */
@keyframes glow {
0%, 100% { box-shadow: 0 0 16px rgba(47,143,255,0.6); }
50% { box-shadow: 0 0 24px rgba(47,143,255,0.8); }
}
/* Solved celebration */
@keyframes celebrate {
0% { transform: scale(0.8) rotate(-5deg); }
50% { transform: scale(1.1) rotate(5deg); }
100% { transform: scale(1) rotate(0deg); }
}
```
### Hover Effects
```css
/* Buttons lift on hover */
:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
/* Active state scales down */
:active {
transform: scale(0.95);
}
```
## ๐Ÿ“ฑ Responsive Breakpoints
```css
/* Desktop (default) */
@media (min-width: 1400px) {
.mz-container { grid-template-columns: 320px 1fr 380px; }
}
/* Medium screens */
@media (max-width: 1400px) {
.mz-container { grid-template-columns: 280px 1fr 340px; }
}
/* Mobile/Tablet */
@media (max-width: 1024px) {
.mz-container { grid-template-columns: 1fr; }
/* Stacks panels vertically */
}
/* Small mobile */
@media (max-width: 768px) {
.mz-title { font-size: 1.8rem; }
.board-cell { width: 40px; height: 40px; }
}
```
## ๐ŸŽฏ Interactive States
### Button States
1. **Default**: Gradient background, subtle shadow
2. **Hover**: Lifts up 2px, stronger shadow, blue border
3. **Active**: Scales down to 0.95, immediate feedback
4. **Disabled**: 50% opacity, no pointer events
### Cell States
- **Wall**: Static, inset shadow
- **Path**: Static
- **Exit**: Pulsing diamond animation (2s loop)
- **Agent**: Glowing orb animation (1.5s loop)
### Status Messages
- **Success**: โœ… Green checkmark
- **Action**: ๐ŸŽฎ Game controller
- **Info**: โ„น๏ธ Information
- **Error**: โŒ Red X
- **Loading**: โšก Lightning bolt
## ๐Ÿ–ฑ๏ธ Interaction Feedback
### Visual Feedback Timeline
```
Click Button
โ†“ (0ms)
Button scales down (transform: scale(0.95))
โ†“ (10ms)
API call initiated
โ†“ (150ms)
Button disabled (opacity: 0.5)
โ†“ (200-500ms)
API response received
โ†“ (0ms)
Board updates (fade in animation)
Stats update (instant)
Rewards update (instant)
History updates (slide in)
โ†“ (300ms)
Button re-enabled
Animation complete
```
### Loading States
```
Action Initiated
โ†“
Loading overlay appears (backdrop blur)
Spinner starts rotating
Buttons disabled
โ†“
Action completes
โ†“
Loading overlay fades out
Buttons re-enabled
Status updated
```
---
## ๐Ÿ“‹ Typography Scale
```
Title: 2.5rem / 900 weight โ„๏ธ MAZE BENCH ENVIRONMENT
Subtitle: 0.9rem / 700 weight ICE SLIDING PUZZLE
Section: 1rem / 900 weight TELEMETRY
Section Small: 0.75rem / 900 weight LIVE STATS
Reward Total: 1.8rem / 900 weight +2.340
Reward Step: 1.4rem / 900 weight -0.010
Stat Value: 1.1rem / 800 weight 12/50
Body: 0.85rem / 700 weight Regular text
Small: 0.7rem / 700 weight Hints, labels
Tiny: 0.65rem / 900 weight UPPERCASE LABELS
```
---
This visual guide describes the complete layout and design system of the MazeBench custom frontend. Every element has been carefully crafted for optimal user experience and aesthetic appeal.