first import book

This commit is contained in:
Johann Dreo 2015-03-03 15:56:44 +01:00
commit dfd9c869d5
233 changed files with 47797 additions and 0 deletions

135
book/_sources/index.rst Normal file
View file

@ -0,0 +1,135 @@
.. © 2015 Johann Dreo
.. |br| raw:: html
<br />
=================================================
Apprendre à programmer |br| (sans se faire chier)
=================================================
.. image:: ../_images/aapssfc.png
:scale: 30%
:alt: The grumpy cat loves you
Introduction
############
.. toctree::
:maxdepth: 2
principes
introduction
python
Exemples par difficulté
#######################
.. Seul chapitre avec un niveau de TOC de 2
Jeux simples
============
.. toctree::
:maxdepth: 2
nombre
pendu
Jeux de tableau
===============
.. toctree::
:maxdepth: 1
Exemples par domaine
####################
Simulation
==========
.. toctree::
:maxdepth: 1
mounty_hall
Dessin procédural
=================
.. toctree::
:maxdepth: 1
Intelligence artificielle
=========================
.. toctree::
:maxdepth: 1
pendu
Système
=======
.. toctree::
:maxdepth: 1
Sécurité et réseaux
===================
.. toctree::
:maxdepth: 1
Exemples par concept
####################
Boucles imbriquées
==================
.. toctree::
:maxdepth: 1
Récursivité
===========
.. toctree::
:maxdepth: 1
Aléatoire
=========
.. toctree::
:maxdepth: 1
mounty_hall
Graphes
=======
Exemples par approche
#####################
Programmation impérative
========================
.. toctree::
:maxdepth: 1
nombre
mounty_hall
Programmation fonctionnelle
===========================
.. toctree::
:maxdepth: 1
pendu
Programmation Objet
===================
.. toctree::

View file

@ -0,0 +1,11 @@
Qu'est-ce que l'informatique ?
==============================
Qu'est-ce qu'un ordinateur ?
----------------------------
Qu'est-ce que la programmation ?
--------------------------------

View file

@ -0,0 +1,10 @@
Mounty Hall
-----------
La chèvres et la voiture
^^^^^^^^^^^^^^^^^^^^^^^^
L'informatique au secours du cerveau
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

9
book/_sources/nombre.rst Normal file
View file

@ -0,0 +1,9 @@
Avec un nombre
---------------
Devine un nombre
^^^^^^^^^^^^^^^^
Pense à un nombre
^^^^^^^^^^^^^^^^^

9
book/_sources/pendu.rst Normal file
View file

@ -0,0 +1,9 @@
Le pendu
--------
Jouer au pendu
^^^^^^^^^^^^^^
IA du pendu
^^^^^^^^^^^

View file

@ -0,0 +1,7 @@
Principes de ce livre
---------------------
Conventions utilisées
---------------------

40
book/_sources/python.rst Normal file
View file

@ -0,0 +1,40 @@
Bases de Python
===============
Une calculette
--------------
Branchement conditionnel : `if`
-------------------------------
Boucles : `for` et `while`
--------------------------
Fonctions
---------
Listes
------
Dictionnaires
-------------
Mise en forme du texte
----------------------
Modules
-------
.. activecode:: example2
..
.. import turtle
.. t = turtle.Turtle()
..
.. for i in range(4):
.. t.forward(100)
.. t.right(90)