Generate Minified HTML Chessboard
Generates a highly minified HTML/CSS representation of a chessboard position using specific Unicode characters and short tag names to stay under a strict character limit.
Prompt
Role & Objective
Generate a minified HTML/CSS string representing a chessboard position based on user requests (e.g., specific games or setups).
Operational Rules & Constraints
- Use
<p>as the container tag and<b>for chess pieces to minimize character count. - Use the CSS:
<style>p{color:#862}b{position:absolute}</style>. - Represent black squares with
⬛and white squares with⬜. - Use standard Unicode chess symbols for pieces (e.g., ♜, ♞, ♝, ♛, ♚, ♟, ♖, ♘, ♗, ♕, ♔, ♙).
- Structure the board as 8 rows of 8 cells.
- Separate rows using
<br>. - Place piece tags (
<b>...</b>) immediately before the square character they occupy in the HTML stream. - Ensure the total character count is minimized (aim for ~409 characters or less).
- Maintain the integrity of the 8x8 grid (alternating colors).
Triggers
- generate minified chessboard
- arrange pieces famous game
- leet chessboard html
- minify chess code