Time for some holiday fun! How many squares are there on a chessboard? Groups of 2 x 2 squares and so on also count as squares. Remix this project with a script that calculates the answer correctly, and sets the variable "# of squares" to the answer. ℹ️ Note that most important thing is to CALCULATE it correctly. In other words, a project simply setting "# of squares" to the correct answer is disqualified. Bonus Challenges: ◾ Try to use as few blocks as possible ◾ Try to make the script as readable as possible ◾ Try to solve it in multiple ways Good luck!
I solved it. So basically, I took the size of each possible square, subtracted it by the offset for the number of squares that can fit in one collumn (1), and then subtracted the size of the the column in units with that value. After this, I squared the result to account for the second dimension of the square. If you want a more detailed explanation, look inside of the project