From b04a5b31413b48bc7e9b33057ebd0fc6fc526ae5 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Sat, 7 Dec 2024 01:49:28 -0600 Subject: [PATCH] docs: add idea note --- 06/GuardGallivant/Map.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/06/GuardGallivant/Map.cs b/06/GuardGallivant/Map.cs index a55c8f4..c7a0d8e 100644 --- a/06/GuardGallivant/Map.cs +++ b/06/GuardGallivant/Map.cs @@ -24,6 +24,7 @@ class Map // I'm finding all the places on the map where I can // place the obstruction, placing, and then seeing if // a loop is created when guard patrols map. + // IDEA: Only check places on the guard's path public int IdentifyNumberOfPlacementsForNewObstruction() { var count = 0; @@ -205,4 +206,4 @@ class Map return Direction.Up; } -} \ No newline at end of file +}