Glass chess β€” play the rules, watch it think

You are White (move first); the engine is Black. Its whole brain is the five rules on the right. Pick a lens to paint one rule's thinking onto the board, then hover any piece to read why it matters. After you move, the board keeps the engine's top-3 replies as arrows (purple = played, grey = 2nd & 3rd choice), and "how it picked" spells out the math in words.

Your move β€” click a white piece.

Hover a piece on the board to read its role.

βš™οΈ The engine's five rules β€” its entire brain

πŸ” Lens β€” paint ONE rule on the board (modes, not layers)

πŸ’° Material 🎯 Center πŸ›‘οΈ Safety πŸ‡ Development β™š King safety β—» Plain
πŸ’° Grab material
How many points of pieces each side has. The engine wants more than you.
how much it caresΓ—10
🎯 Fight for the center
How central its pieces stand β€” middle squares are worth more.
how much it caresΓ—3
πŸ›‘οΈ Don't hang pieces
Whether it's leaving a piece to be captured for free.
how much it caresΓ—6
πŸ‡ Develop pieces
How many knights and bishops have left their starting square. Rewards getting pieces out early instead of moving the same one twice.
how much it caresΓ—2
β™š Tuck the king away
Whether its king sits on a corner/edge square (safe) or has wandered toward the open center.
how much it caresΓ—3

Each slider is a weight: the rule's raw score is multiplied by it, then all five are added into one number. Slide a weight to 0 and the engine ignores that rule entirely β€” set all five to 0 and it just plays the first move it sees (you'll crush it). Development and king safety default to on: turn both down to 0 and the engine plays exactly like the original three-rule brain; turn them up (the default) and it develops faster and hides its king, which measurably beats the three-rule version.

These five are the entire brain β€” no opening book, no endgame tables, no check-avoidance beyond what falls out of the rules above.

πŸ”Ž How it picked its last move

Make a move β€” the engine's reasoning shows up here, in words.