GP di Fortezza: Puntella in gara (consenso del 28 ottobre) col ritratto e lo SR truccatissimo viola e giallo, motore 6; il casco di Tozzino alla Damon Hill con le pale di remo (Andrea)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GiECdCPptNRwbVzjzHbohi
This commit is contained in:
@@ -174,7 +174,8 @@ function card(ctx, c, look, sheet) {
|
||||
for (const [k, [label, value]] of [['MOTORE', r.motore], ['TESTA', r.testa]].entries()) {
|
||||
const yy = y + 116 + k * 12;
|
||||
text(ctx, label, x + 222, yy, 5, '#c5c6b6');
|
||||
for (let i = 0; i < 5; i++) { ctx.fillStyle = i < value ? (k ? '#b9d392' : '#e0583a') : '#3a3f3c'; ctx.fillRect(x + 262 + i * 13, yy - 3, 10, 6); }
|
||||
// Cinque caselle; il motore truccatissimo (6) ne accende una sesta, gialla.
|
||||
for (let i = 0; i < Math.max(5, value); i++) { ctx.fillStyle = i >= 5 ? '#ffe28a' : i < value ? (k ? '#b9d392' : '#e0583a') : '#3a3f3c'; ctx.fillRect(x + 262 + i * 12, yy - 3, 9, 6); }
|
||||
}
|
||||
text(ctx, 'TOCCA: IL PROSSIMO', x + w / 2, y + h - 6, 5, '#8f9488', 'center');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user