From d0bf830f020cad9eec6ef448e73a7c4170e1e41f Mon Sep 17 00:00:00 2001 From: Nicholas Warzin Date: Tue, 22 Aug 2023 17:29:47 -0400 Subject: [PATCH] Calculate and report on the resources necessary to complete the maze. --- overlook.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/overlook.js b/overlook.js index 3ed4173..989ac9c 100644 --- a/overlook.js +++ b/overlook.js @@ -181,8 +181,9 @@ overlook.map(row => { rowTotal ++; }); -console.log(count); -console.log(total); +console.log(`total leaf-occupying spaces: ${count}`); +console.log(`which is ${(count*5)} actual leaf cubes at a height of 5`); +console.log(`and if 3456 leaves fit in a double bin, we need ${(((count*5)/3456).toFixed(2))} full double-bins to do the overlook`);