From 7a31138473dce1db34e654796038f9631ce1e8f7 Mon Sep 17 00:00:00 2001 From: tomersegall <74203746+tomersegall@users.noreply.github.com> Date: Mon, 7 Jun 2021 12:38:51 +0300 Subject: [PATCH] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 37d4af0..0f98fbb 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ body { font-family: Helvetica, sans-serif; } #tetris { margin: 1em auto; padding: 1em; border: 4px solid black; border-radius: 10px; background-color: #F8F8F8; } #stats { display: inline-block; vertical-align: top; } - #canvas { display: inline-block; vertical-align: top; background: url(texture.jpg); box-shadow: 10px 10px 10px #999; border: 2px solid #333; } + #canvas { display: inline-block; vertical-align: top; background: url(images/texture.jpg); box-shadow: 10px 10px 10px #999; border: 2px solid #333; } #menu { display: inline-block; vertical-align: top; position: relative; } #menu p { margin: 0.5em 0; text-align: center; } #menu p a { text-decoration: none; color: black; } @@ -75,7 +75,7 @@ ctx = canvas.getContext('2d'), ucanvas = get('upcoming'), uctx = ucanvas.getContext('2d'), - speed = { start: 0.6, decrement: 0.005, min: 0.1 }, // how long before piece drops by 1 row (seconds) + speed = { start: 0.6, decrement: 0.5, min: 0.1 }, // how long before piece drops by 1 row (seconds) nx = 10, // width of tetris court (in blocks) ny = 20, // height of tetris court (in blocks) nu = 5; // width/height of upcoming preview (in blocks)