From 285e658bbcb4b2436e5f0178b09302aacfb884bd Mon Sep 17 00:00:00 2001 From: Aldrin Misquitta Date: Thu, 3 Feb 2022 16:48:34 +0000 Subject: [PATCH] Document a bonus option to view the game data as a tree! --- 03_Animal/java/src/Animal.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/03_Animal/java/src/Animal.java b/03_Animal/java/src/Animal.java index c4222c5f..1e489559 100644 --- a/03_Animal/java/src/Animal.java +++ b/03_Animal/java/src/Animal.java @@ -10,6 +10,8 @@ import java.util.stream.Collectors; * Converted from BASIC to Java by Aldrin Misquitta (@aldrinm) * The original BASIC program uses an array to maintain the questions and answers and to decide which question to * ask next. Updated this Java implementation to use a tree instead of the earlier faulty one based on a list (thanks @patimen). + * + * Bonus option: TREE --> prints the game decision data as a tree to visualize/debug the state of the game */ public class Animal {