From c35db75eba1f67c6d6bbca9fefe7aaefb6b6d6e9 Mon Sep 17 00:00:00 2001
From: Peter Ward <peteraward@gmail.com>
Date: Sun, 29 Jul 2012 23:43:29 +1000
Subject: Add start of tutorial.

---
 docs/introduction.tex | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 docs/introduction.tex

(limited to 'docs/introduction.tex')

diff --git a/docs/introduction.tex b/docs/introduction.tex
new file mode 100644
index 0000000..3f8d1d8
--- /dev/null
+++ b/docs/introduction.tex
@@ -0,0 +1,37 @@
+\section{Introduction}
+
+I assume you know the basics of Python:
+printing stuff,
+if/elif/else,
+for and while loops and lists.
+That’s really all you need to follow along at least the first four sections,
+and then dictionaries will start to come in handy.
+
+If you have no idea what I was just talking about, \emph{don’t panic}.
+All that means is that you’re not quite ready for this yet,
+and you need to start by learning Python using some of these excellent
+resources:
+\begin{itemize}
+    \item \url{http://openbookproject.net/thinkcs/python/english2e/}
+    \item \url{http://learnpythonthehardway.org/}
+    \item \url{http://docs.python.org/tutorial/}
+    \item Anyone you know who knows about Python, or is a programmer.
+\end{itemize}
+Don’t be discouraged if it doesn’t immediately make sense:
+programming can be difficult and frustrating,
+but if you put the effort in, it can also be a very rewarding, interesting and
+fun activity.
+
+If you are stuck with anything, Google it first.
+
+You’ll need to start by getting the code.
+The repository is at
+\url{http://hg.flowblok.id.au/snakegame},
+you can install it with pip:
+\begin{minted}{sh}
+$ pip install hg+http://hg.flowblok.id.au/snakegame#egg=SnakeGame
+\end{minted}
+
+Each section starts with a Fast track note:
+if you know what you’re doing, just write a bot which moves according to what it
+says in the fast track note, and you can skip that section.
-- 
cgit v1.2.3

