From a2b5e3469f67171d531f3aa8cdf63b069377946b Mon Sep 17 00:00:00 2001 From: Anthony Leland Date: Wed, 28 Oct 2020 20:42:47 -0400 Subject: [PATCH] Motives notebook clean up --- motives.ipynb | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/motives.ipynb b/motives.ipynb index b30d702..e2ef9b7 100644 --- a/motives.ipynb +++ b/motives.ipynb @@ -86,10 +86,13 @@ " var maxMotive = 10;\n", " var curMotive = motive;\n", " var curMood = Mood;\n", + "\n", " // New motive equals the current motive plus the input\n", " var newMotive = curMotive + input;\n", + "\n", " // New mood equals the new motive plus the current mood\n", " var newMood = newMotive + curMood;\n", + " \n", " // Changed motive is the new motive with the limit\n", " var changedMotive = newMotive.LimitToRange(0, maxMotive);\n", "\n", @@ -142,24 +145,7 @@ " $\"Environment: {motives.Environment}\");\n", "Console.WriteLine($\"Mood: {motives.Mood}\");" ], - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": "Hunger: 0\r\nFun: 6\r\nBladder: 3\r\nEnvironment: 10\r\n" - }, - "execution_count": 1, - "metadata": {} - }, - { - "output_type": "execute_result", - "data": { - "text/plain": "Mood: 33\r\n" - }, - "execution_count": 1, - "metadata": {} - } - ] + "outputs": [] }, { "cell_type": "code", @@ -172,24 +158,7 @@ " $\"Fun: {motives.Fun}\");\n", "Console.WriteLine($\"Mood: {motives.Mood}\");" ], - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/plain": "Hunger: 2\r\nFun: 10\r\n" - }, - "execution_count": 1, - "metadata": {} - }, - { - "output_type": "execute_result", - "data": { - "text/plain": "Mood: 39\r\n" - }, - "execution_count": 1, - "metadata": {} - } - ] + "outputs": [] } ], "metadata": {