From 53251d304ccd02423cac2372f9c5db47a4509140 Mon Sep 17 00:00:00 2001 From: Ivaylo Petrov Date: Tue, 9 Apr 2013 10:15:19 +0300 Subject: [PATCH] Corrected characters names The names of Bilbo and Gandalf were swapped. Now they are correct. --- 04-refs-agents/00-game.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/04-refs-agents/00-game.clj b/04-refs-agents/00-game.clj index e0ae68c..554529e 100644 --- a/04-refs-agents/00-game.clj +++ b/04-refs-agents/00-game.clj @@ -12,8 +12,8 @@ [loot-fn scenario] (let [hoard (set (range 100)) smaug (character "Smaug" :health 500 :strength 400 :items hoard) - gandalf (character "Bilbo" :health 100 :strength 100) - bilbo (character "Gandalf" :health 75 :mana 750)] + bilbo (character "Bilbo" :health 100 :strength 100) + gandalf (character "Gandalf" :health 75 :mana 750)] (dofutures 2 #(while (loot-fn smaug bilbo)) #(while (loot-fn smaug gandalf)))