diff --git a/app.js b/app.js index 6df42f6..a7aaa2d 100644 --- a/app.js +++ b/app.js @@ -1,3 +1,15 @@ document.addEventListener('DOMContentLoaded', () => { - // Code goes here + const grid = document.querySelector('.grid') + let squares = Array.from(document.querySelectorAll('.grid div')) + const ScoreDisplay = document.querySelector('#score') + const StartBtn = document.querySelector('#start-button') + const width = 10 + + //The Tetrominoes + const lTetromino = [ + [1, width+1, width*2+1, 2], + [width, width+1, width+2, width*2+2], + [1, width+1, width*2+1, width*2], + [width, width*2, width*2+1, width*2+2] + ] }) \ No newline at end of file diff --git a/index.html b/index.html index da8b038..623a0b0 100644 --- a/index.html +++ b/index.html @@ -8,10 +8,8 @@