add arduino to deck required materials
[challenge-bot] / curriculum / square.scm
index d01fbeb22cb724c8647aaa4dfa4da813610230a7..7d08b9a1ea4bfe8188b3c649c31c39e6244cbbf2 100644 (file)
@@ -1,3 +1,5 @@
+;; tldr; AGPLv3+
+;; copyright info at bottom
 (use-modules (skribilo source c))
 
 (document
   (p [here's the output of ,(source :language c [square(2)\;])])
   (figure
    :legend "square(2);"
-   (image :file "square2.png" :height 500))))
+   (image :file "square2.png" :height 500))
+  (p [note that it is twice the size of the prior 2 examples.]))
+ (chapter
+  :title [square(3)\;]
+  :number #f
+  (p [here's the output of ,(source :language c [square(3)\;])])
+  (p [how big do you expect this square to be?])
+  (figure
+   :legend "square(3);"
+   (image :file "square3.png" :height 500)))
+ (chapter
+  :title [quiz on square 1 2 3]
+  :number #f
+  (section
+   :title [questions for simplest square]
+   (p [what's the code for the simplest square?])
+   (p [where is the bottom right corner of the simplest square?]))))
+
+;; Copyright 2016 daniel watson
+
+;; This file is part of challenge-bot.
+
+;; challenge-bot is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU Affero General Public License as
+;; published by the Free Software Foundation, either version 3 of the
+;; License, or (at your option) any later version.
+
+;; challenge-bot is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU Affero General Public License for more details.
+
+;; You should have received a copy of the GNU Affero General Public
+;; License along with challenge-bot.  If not, see
+;; <http://www.gnu.org/licenses/>.