ScratchData LogoScratchData
Back to gregatku's profile

Chessboard Challenge 2 remix (12 Blocks)

GRgregatku•Created December 29, 2022
Chessboard Challenge 2 remix (12 Blocks)
5
6
91 views
View on Scratch

Instructions

Let's make it a bit more interesting! How many RECTANGLES are there on a chessboard? Remix this project with a script that calculates the answer correctly, and sets the variable "# of rectangles" to the answer. ℹ️ Note that most important thing is to CALCULATE it correctly. In other words, a project simply setting "# of rectangles" 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!

Description

My solution to @papipupepappa's 2nd Chessboard challenge. Done by a logical extension of my 9 block solution to his 1st Challenge (which I didn't share). It uses 12 blocks. Initially I wasn't certain it gave the right answer though, but @ArnoHu got the same result (with a different algorithm), so it MUST be correct! I also added a [Show Counting] button to animate what is actually being counted by my algorithm, which proves it's correct, since it actually draws each one. The animation takes 2 min 24 secs, so be patient.

Project Details

Project ID782216231
CreatedDecember 29, 2022
Last ModifiedDecember 31, 2022
SharedDecember 30, 2022
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root