Get Coding Games in Python 1st Edition Carol Vorderman PDF Ebook With Full Chapters Now
Get Coding Games in Python 1st Edition Carol Vorderman PDF Ebook With Full Chapters Now
com
https://textbookfull.com/product/coding-games-in-
python-1st-edition-carol-vorderman/
https://textbookfull.com/product/how-to-be-good-at-maths-carol-
vorderman/
textbookfull.com
https://textbookfull.com/product/coding-for-kids-python-learn-to-code-
with-50-awesome-games-and-activities-2019th-edition-adrienne-b-tacke/
textbookfull.com
https://textbookfull.com/product/ubuntu-linux-bible-10th-edition-
david-clinton-christopher-negus/
textbookfull.com
Multiple Criteria Decision Making Applications in
Environmentally Conscious Manufacturing and Product
Recovery 1st Edition Surendra M. Gupta
https://textbookfull.com/product/multiple-criteria-decision-making-
applications-in-environmentally-conscious-manufacturing-and-product-
recovery-1st-edition-surendra-m-gupta/
textbookfull.com
https://textbookfull.com/product/the-legacy-of-second-wave-feminism-
in-american-politics-1st-edition-angie-maxwell/
textbookfull.com
https://textbookfull.com/product/environmental-protection-what-
everyone-needs-to-know-1st-edition-pamela-hill/
textbookfull.com
https://textbookfull.com/product/vulnerability-and-marginality-in-
human-services-mark-henrickson/
textbookfull.com
Practical Radiation Oncology Physics: A Companion to
Gunderson & Tepper's Clinical Radiation Oncology, 1e Sonja
Dieterich Phd
https://textbookfull.com/product/practical-radiation-oncology-physics-
a-companion-to-gunderson-teppers-clinical-radiation-oncology-1e-sonja-
dieterich-phd/
textbookfull.com
codinG
Games
PYTHON
R
IN
codinG
Games
PYTHON
R
IN
DK UK
Project editor Ben Ffrancon Davies
Senior art editor Sunita Gahir
Consultant editor Craig Steele
Jacket design development manager Sophia MTT
Jacket editor Claire Gell
Producer, pre-production Gillian Reid
Senior Producer Alex Bell
US editors Jill Hamilton, Kayla Dugger
Managing editor Lisa Gillespie
Managing art editor Owen Peyton Jones
Publisher Andrew Macintyre
Associate publishing director Liz Wheeler
Art director Karen Self
Design director Phil Ormerod
Publishing director Jonathan Metcalf
DK INDIA
Senior editor Bharti Bedi
Project art editor Sanjay Chauhan
Editor Tina Jindal
Assistant art editors Rabia Ahmad,
Simar Dhamija, Sonakshi Singh
Jacket designer Juhi Sheth
Jackets editorial coordinator Priyanka Sharma
Managing jackets editor Saloni Singh
DTP designer Sachin Gupta
Senior DTP designer Harish Aggarwal
Senior managing editor Rohan Sinha
Managing art editor Sudakshina Basu
Pre-production manager Balwant Singh
First American Edition, 2018
Published in the United States by DK Publishing
345 Hudson Street, New York, New York 10014
A WORLD OF IDEAS:
SEE ALL THERE IS TO KNOW
www.dk.com
CAROL VORDERMAN MBE is one of Britain’s best-loved TV presenters and is
renowned for her mathematical skills. She has hosted numerous TV shows on
science and technology, from Tomorrow’s World to How 2, and was co-host of
Channel 4’s Countdown for 26 years. A Cambridge University engineering
graduate, she has a passion for communicating science and technology and
is particularly interested in coding.
12 What is Python?
14 Gaming in Python
16 Installing Python
18 Installing Pygame Zero
20 Using IDLE
22 Your first program
28 Creating variables
32 Making decisions
36 Playing with loops
40 Functions
44 Fixing bugs
What is the
capital of France? 7
London Paris
Berlin Tokyo
6 2
Computer programmers are the unsung heroes of the modern world. From smartphones
to laptops, traffic systems to bank cards, their hard work touches almost every aspect
of our lives. Behind each technological advance is a team of creative coders.
Over the past 30 years, computer games have become one of the most exciting and
popular areas of the entertainment industry to work in. Becoming a game programmer
takes creative flair to help create the story, graphics, music, and characters you need
for your games, and the technical know-how to bring them to life. Who knows? This
book may be the very first step on your journey from gamer to game maker.
Learning to code isn’t just for people who want to be professional programmers,
though. Coding skills are useful in lots of different jobs that may seem to have nothing
to do with computers at first. Programming expertise is essential to subject areas as
diverse as science, business, art, and music.
This book uses a programming language called Python®, a fairly simple text-based
language, and is perfect for beginners, or as a step up from Scratch™. However,
unlike Scratch, it was not created especially to teach coding. Python is as popular with
budding coders as it is with professionals, and is one of the most widely used
professional programming languages in the world. It pops up in banking, medicine,
animation, and even space exploration.
The best way to learn any new language is to get immersed in it, and programming
languages are no different. Building your own computer games is a fun way to combine
theory and practice. If you’re a brand-new coder, start off with the basics at the
Visit https://textbookfull.com
now to explore a rich
collection of eBooks, textbook
and enjoy exciting offers!
beginning of this book before moving on to the more complex games as the book
progresses. By following the step-by-step guides, you’ll find out how professional
coders think when they’re building a computer game. Follow those steps carefully and
you’ll have your own games up and running in no time. Then, if you really want to push
yourself, you can try tweaking the code to make your games unique.
Most importantly, have fun! Once you’ve completed the games, you can show them off
to your friends and family—they’ll be amazed by what you’ve managed to make. This
book is packed with games to suit every audience, and we hope you enjoy building and
playing them as much as we enjoyed creating them for you.
1+1=2
◁ Diverse applications
Python is used to build
△ Easy to understand systems and tools for lots of
Unlike some other programming languages, Python interesting tasks in different
doesn’t use complicated symbols. You type the industries, such as banking,
code using a mixture of English words, characters, and healthcare, the space industry,
numbers, so it’s easy to read and write—just like a book. education, and many others.
print("Hello World!")
when clicked This block displays
the message in a Type your
say Hello World! speech bubble. message here.
Hello World!
The message appears
on the screen like this.
Hello World!
△ Print in Python
△ Print in Scratch In Python, the “print” command displays
In Scratch, the “say” block is used to a message on the screen.
display a message on the screen. This command
is executed if
the condition
after if is True. if a == 2:
if a = 2 then This message is
print("Hello!") displayed if the
This message is else: answer is False.
say Hello!
displayed if the
answer is True. print("Goodbye!")
else
This command
say Goodbye!
is executed if the
This is the end of the condition after
“if-then-else” block. if is False.
Goodbye!
Hello! ? Goodbye!
Gaming in Python
Video games are computer programs that
contain a bunch of instructions. Python can
be used to build lots of different types of
games. With Python, there’s something for
every gamer!
Types of games
There are lots of different categories, or
genres, of computer games. These range
from simple one-button games to more ▷ One button
complex strategy ones. Which genre would With Python, you can build fun,
you like to create first? action-packed games that only
need one button to be played.
These games are so addictive,
you’ll want to play them over
and over again.
◁ Puzzles
Puzzles are a great
way to exercise your
brain or test someone’s
general knowledge.
They come in all shapes
and sizes, from jigsaw △ Platform
puzzles to word and Platform games, such as racing games, create
number games. the illusion of speed by making the background
scroll past the player’s viewpoint. The gameplay
generally involves moving around obstacles or
jumping over them.
◁ Strategy
A strategy game is all
△ Multiplayer about decisions. You
Some games you play by yourself, but others let you need to plan ahead
compete against other players. You can use Python to and make the right
build multiplayer games and challenge your friends. choices to win.
GAMING IN PYTHON 15
Python modules EXPERT TIPS
Python has bundles of code called “modules” Downloading modules
that help you complete common coding
tasks. You can use these modules by Python comes with several built-in modules
for developing games, such as Pyglet. But
importing them into your programs.
some other modules, like Pygame, have to
Here are some Python modules that you be downloaded separately.
might find useful.
▽ Pygame
Pygame is designed for writing games in Python.
With this module, you can easily add and control
game characters, update scores and timers, use ◁ Pygame Zero
special animations and graphics, and use gamepads
Pygame Zero is a great module for
and joysticks with your games. It is not a built-in
beginner game programmers. It’s a
Python module, so it needs to be installed separately.
simplified version of Pygame, which makes
it even easier to get started by hiding some
of Pygame’s more complicated features. It
comes with several tools that are useful for
beginners, but it’s also powerful enough
to build some impressive games.
▷ Random
This module can pick a random
number or shuffle a list into a
random order. It is great for
▷ Math adding an element of chance
to a game. Use it when you
Math is a standard Python
want to simulate rolling dice
module that can be used to
or when choosing a random
perform simple calculations
enemy for the player to face.
in games. However, you might
need to use other modules for
trickier calculations.
◁ Tkinter
This tool is used to build
◁ Time simple graphics in games
This module provides tools to to create Graphical
work with time and dates in User Interfaces (GUIs,
a program. For example, you pronounced “goo-eys”)
might need to calculate how that let users interact
many seconds have passed with, and control,
since a game started. Python programs.
16 G E T T I N G S TA R T E D
The games in this book use Python 3. It’s When you install Python 3, you will
free, and you can download it from the also get another free program called
Python website. Follow the instructions IDLE (short for Integrated Development
Environment). Designed for
that match your computer. Never install beginners, IDLE includes a basic
any program unless you have the computer text editor that allows you to write
owner’s permission. and edit Python code.
Z Z Z
Installing Python on Windows
First you need to find out if your computer uses the
32-bit or 64-bit version of Windows. Go to the Start
menu, then Computer, Properties, and choose
System if the option appears.
1 Download Python
Go to www.python.org and click on Downloads. Click 2 Install Python
Open the installer file, then click Custom
on the latest version of Python for Windows. It should Installation, then Next until you get to Advanced
start with the number 3. Select executable installer Options. Leave the checked boxes as they are, but
from the different installer options that appear. make sure “Install for all users” and “Add Python to
environment variables” are also checked. Then
click Install and Next at each prompt.
The version number might not be
exactly the same as this one—just
make sure it has 3 at the beginning. Click the
installer.
1 Download Python
Go to www.python.org and click on Downloads.
Remember this book uses Python 3, so
make sure you open the right version.
Click on the version of Python 3 that matches your You’ll find Python 3 in the Applications
operating system. The “Python.pkg” file will download menu on your Raspberry Pi. Open it
to your Mac automatically. now and check that it works.
The version number might not be exactly
the same as this one—just make sure it
has a 3 at the beginning.
Where should
I plug this in?
• Python 3.6.2 - 2017-08-15
• Download macOS X 64-bit/32-bit installer
2 Install Python
Double-click the “.pkg” file in the Downloads folder
to start the installation. Select Continue and then
Install to accept the default settings.
3 Start IDLE
Once the installation is complete, check that it was
successful by opening the IDLE program. Search for
it in Spotlight or select the Applications folder, then
the Python folder, and double-click IDLE. A window
like this should appear.
Command Prompt
c:\ python -m pip install -U pip
3 Install Pygame
Once the package manager is installed, 4 Install Pygame Zero
Finally, type this command. When you
type the following command and press press Enter, this will install Pygame Zero,
Enter. This uses pip to install Pygame. also known as pgzero for short.
1 Open Terminal
You’ll need to use the Terminal app to >_
This is what the
Terminal app
thumbnail looks like.
install the modules. You can find it in your
Applications folder, or you can search for
it with Spotlight. Follow the steps below,
making sure all the spellings are correct Type this line carefully in the
and the spaces are in the right place. Terminal window and check for any
spelling errors and extra spaces.
that makes it easier to install Pygame Zero Last login: Thu Sep 14 11:22:51 on ttys000
and other Python modules. Type in the LC-0926:~ rzvz ruby -e "$(curl -fsSL https://raw.git
command at right and press Enter to
install Homebrew. It might ask you to hubusercontent.com/Homebrew/install/master/install)"
enter your password again, and it will take
a short while to install, so don't panic if This should fit
nothing happens right away. on one line when
you type it in.
5 Install Pygame
Now it’s time to install Pygame. Type
pip3 install pygame
Pygame Zero.
20 G E T T I N G S TA R T E D
Shell window
△ Give the shell a test run
Type each of these code snippets into the shell window
Editor window and press Enter after each one. The first line displays a
message and the second line does a calculation. Can you
figure out what the third line does?
USING IDLE 21
The editor window ▽ The editor window
The shell window can’t save your code, so when you To open the editor window
close it, the code you typed is gone forever. When you in IDLE, click on the File menu at
are working on a game, you should use IDLE’s editor the top and choose New File.
An empty editor will then appear.
window. This will let you save your code. It also has You’ll use the editor window to
built-in tools to help you write your programs and write the programs for the games
troubleshoot any errors. in this book.
You type in the code The name of the You can run Python programs from
here. This program file is shown here. this menu, but you will run Pygame
prints a list that tells Zero programs a different way.
you which numbers
are even and which
EvensandOdds.py
ones are odd.
IDLE File Edit Format Run Window Help
The menu bar for
for count in range(10): the editor window is
different from the one
if ((count % 2) == 0):
for the shell window.
print(count)
Anything you tell
Python to print print("is even")
gets displayed in
the shell window. else:
print(count)
print("is odd")
EXPERT TIPS
Colors in the code
IDLE automatically colors Symbols and names Output
the text to highlight Most code text is colored Any text produced when
different parts of the code. black. a program runs is blue.
The colors make it easier to
understand the code, and
they’re useful when you’re Built-in commands Keywords
trying to spot mistakes. Python commands, Certain words, such as if and
such as print(), are else, are special Python keywords.
shown in purple. They are shown in orange.
How it works
This Python program will check if everything Start
1 Set up a folder
Before you start, create a folder called python-games
somewhere easy to find, such as on your Desktop.
Create another folder within your python-games
folder and call it hello. End
2 Start IDLE
Open IDLE on your
File
Hello!
computer. From the New File
File menu, choose
New File to create an Open...
empty editor window
where you can write Open Module...
your program.
Recent Files ▶
Class Browser
YO U R F I R S T P RO G R A M 23
def draw():
def draw():
EXPERT TIPS
Cancel Save
Hey, grab on!
I’ll save you!
EXPERT TIPS
Saving your code
Always save your code before you run it,
especially after you make any changes.
If you don’t, Python will run an out-of-date
version of your code.
Random documents with unrelated
content Scribd suggests to you:
Mit klugen Augen schaute das Kind neugierig umher. Die beiden
sprachen jetzt kein Wort mehr miteinander. Bis die Schwester Oberin
kam in Begleitung der Schwester Salesia. Die Pförtnerin hielt nun
statt der Kerze eine große Stehlampe in der Hand, die sie auf den
ovalen Tisch in der Mitte des Zimmers stellte.
Die Oberin war eine hohe, schlank gewachsene Frau. Nicht mehr
ganz jung. Aber mit einem gesunden, runden Bauerngesicht,
eckigen Bewegungen und mit Augen, die nicht recht zu ihrer
sonstigen Erscheinung paßten. Es waren helle, scharfe Augen.
Augen, die einen klaren, wissenden Blick hatten, energisch und
selbstbewußt schauten, und dann wieder demütig und
unentschlossen. Die Schwester Oberin hielt ihre Augen meistens
gesenkt und hatte die Hände wie zum Gebet fromm ineinander
gefaltet, als befände sie sich im steten Zwiegespräch mit ihrem Gott.
Die Ennemoserin erhob sich, als die Oberin eintrat, und hieß
auch das Kind aufstehen.
„Gelobt sei Jesus Christus!“ grüßte die Oberin mit leiser, sanfter
Stimme, die in einem seltsamen Gegensatz zu ihrer derben
Erscheinung war. Dann gab sie der Ennemoserin die Hand und bat
sie, Platz zu nehmen. Die Sophie setzte sich ungebeten. Baumelte
mit den Füßen und besah sich jetzt im hellen Lampenschein ihre
Umgebung.
Freundlich und sauber schaute es in dem Wartezimmer aus. Für
Sophies Geschmack zu sauber. Denn hier drinnen war alles hell und
weiß. Weiß die Vorhänge an den beiden Fenstern und weiß die
Überzüge der Polsterstühle. Weiß die gehäkelte Decke, die auf dem
ovalen Tisch lag. Und weiß die kleinen Schutzdeckchen, die an die
Lehnen des grünen Sofas geheftet waren. Auch die Hauben der
beiden Klosterfrauen waren weiß.
Es war das erstemal in ihrem Leben, daß die Sophie eine
Klosterfrau in unmittelbarer Nähe betrachten konnte. Ab und zu hatte
sie ja auf ihren Streifwegen eine solche begegnet. Sie war ihr aber
immer in weitem Bogen ausgewichen. Die großen weißen Hauben
mit den dreieckigen Flügeln kamen ihr so unsagbar häßlich vor, daß
sie dieselben gar nicht näher anschauen mochte. Noch eine Art
Nonnen kannte das Kind. Das waren solche mit langen schwarzen
Tüchern, die ihnen nach rückwärts vom Kopfe hingen, während das
Gesicht nur durch ein weißes Stirnband abgeschlossen wurde.
Diese gefielen ihr schon weit besser. Allerdings hatte sie auch vor
ihnen eine eigene Scheu und wich ihnen aus, wo sie nur konnte.
Mit einer Nonne gesprochen hatte die Sophie noch nie im Leben.
Und jetzt hatte sie mit einem Male sogar zwei Klosterschwestern in
ihrer nächsten Nähe. Und noch dazu solche mit garstigen weißen
Hauben, die sie gar nicht leiden mochte.
Das Kind lehnte sich bequem in dem Sessel zurück, legte das
dunkle Köpfchen mit den beiden nassen Zöpfen auf die linke Seite,
hielt sich mit den Händen an ihrem Sitz fest, als wäre sie zu Pferd,
und baumelte unruhig mit den Füßen hin und her.
Die Schwester Salesia machte sich an der großen Ölampel zu
tun. Goß aus einer Kanne, die in einem Winkel des Zimmers
verborgen stand, Öl nach und putzte das Licht zurecht.
Das Kind besah sich die Schwester ganz genau, und sie gefiel ihr
immer besser. Trotz der garstigen Haube und dem häßlichen
Gewand. Denn das Kleid der Schwester mißfiel dem Kind gleichfalls.
Es war dunkel und unförmig. Ein faltiger, weiter Rock und eine
dunkle, ebenso weite Schürze. Eine Bluse von derselben Farbe, von
der man jedoch mit Ausnahme der weiten Ärmel gar nichts sehen
konnte, da ein breiter, steif gestärkter Kragen sie zur größeren Hälfte
verdeckte. Um die Mitte hatten die Klosterschwestern einen weißen,
dünnen Strick geschlungen, der seitwärts in einem Knoten neben
einem großen Rosenkranz mit Kreuz herunterhing.
Die Oberin unterhielt sich mit der Ennemoserin im gedämpften
Ton so leise, als fürchteten die Frauen, durch den Laut ihrer
Stimmen die heilige Ruhe des Klosters zu stören.
Die Ampel, an der die Schwester Salesia sich zu schaffen
machte, hing vor einer lebensgroßen Christusstatue, die das heilige
Herz Jesu purpurrot leuchtend und mit einem goldenen
Strahlenkranz umgeben als Sinnbild der unendlichen Liebe des
Heilands auf der Brust trug.
Das Kind hatte noch wenig von Gott gehört und wußte auch
nicht, was die fromme Statue darstellen sollte. Aber sie ahnte, daß
es Gott sein sollte, und war so vertieft in ihre Betrachtung, daß sie
gar nicht darauf merkte, was die beiden Frauen an ihrer Seite
verhandelten.
Es war ihr jetzt auch gleichgiltig; denn je mehr sie sich hier
umsah, desto besser gefiel es ihr. Und als die Schwester Oberin sich
erhob, sie bei der Hand nahm und ihr erklärte, sie dürfe von jetzt an
hier bleiben und das Kloster solle nun ihre Heimat sein, war sie ganz
damit einverstanden.
Das beklemmende Gefühl, das sie anfangs beim Betreten des
Klosters ergriffen hatte, war geschwunden, und willig folgte sie den
beiden Klosterfrauen in das Innere des Hauses, nachdem sie sich
von der Ennemoserin mit kurzem Gruß verabschiedet hatte.
Es war jetzt schon spät an der Zeit. Die Zöglinge des Klosters
gingen gerade von einer Schwester geführt durch den gedeckten
Gang zur Kirche hinüber. Alle in gleichen, einförmigen, grauen
Kleidern, mit runden, schwarzen Kragen und ohne Hüte. Sie
verbeugten sich tief vor der Oberin und warfen neugierige Blicke auf
das Kind. Dann gingen sie schweigend in Reih’ und Glied der Kirche
zu. — — —
Es war ein eigentümliches Gefühl, mit dem die kleine Sophie
abends in ihrem sauberen, weiß bezogenen Bette lag. In einem
großen, langen Saal war es. Bett an Bett, nur durch kleine
Zwischenräume voneinander getrennt, standen die Lagerstätten der
Kinder in zwei Reihen nebeneinander. Ungefähr zwölf Betten
mochten es sein. Und am Ende des Saales hatte ein Bett Platz
gefunden, das zu beiden Seiten mit Vorhängen verhüllt war. Dort
schlief eine der Schwestern, der die Aufsicht über die Zöglinge
anvertraut war.
Lange konnte die Sophie kein Auge schließen. Es war ihr alles so
ungewohnt und fremd. Bisher hatte sie ihr Lager auf einem elenden
Lumpenhaufen gehabt in dem fahrenden Haus des Karrners. Hatte
sich mit den Geschwistern Tag für Tag gerauft und gebalgt um eine
Decke oder ein Kissen.
Ein Höllenspektakel war das an jedem Abend gewesen. Ein
Geschrei und Geheul und Gezeter, bis der Vater mit dem Stock und
mit wilden Flüchen zwischen die kleinen Raufbolde dreinfuhr. Dann
duckten sie sich und gaben Ruhe. Dumpf war es in dem kleinen
Schlafabteil des Wagens. Eng und dumpf. Aber die Sophie schlief
vortrefflich und vollständig traumlos bis zum Morgen, wo neuer
Höllenlärm sie weckte.
Wie ganz anders war es heute in dem freundlichen und sauberen
Schlafsaal des Klosters. Tiefer Friede und heilige Ruhe. Nichts regte
sich.
Etwas wie abergläubische Furcht überkam das Kind. Sie setzte
sich in ihrem Bette auf und sah hinüber zu dem großen
Madonnenbild, vor dem ein schwaches rotes Licht brannte. Und
wieder schaute sie auf die schlafenden Mädchen an ihrer Seite, die
ruhig und gleichmäßig atmend dalagen und auf ihren weißen Kissen
aussahen wie Engelsköpfe auf kleinen weißen Wolken.
Langsam und in dumpfen Schlägen schlug die Uhr von dem
Turme zu Mariathal die zehnte Stunde.
Mit leisen, unhörbaren Schritten kam eine junge
Klosterschwester, ging von Bett zu Bett und blieb dann vor der
kleinen Sophie stehen.
„Kannst nit schlafen, Kind?“ frug sie flüsternd.
„Naa!“
„Fehlt dir was?“
„Naa!“
„Hast Heimweh?“ frug die Schwester weich und beugte sich über
das Kind.
„Ja!“ sagte die Sophie heiser, und ihre Augen füllten sich mit
Tränen.
„Heimweh ... und bist ein Karrnerkind?“ frug die Schwester
verwundert. Dann aber erinnerte sie sich daran, einmal gehört zu
haben, daß gerade diese Menschen eine brennende Sehnsucht
nach der weiten Welt hätten, die ihnen Glück und Heimat war.
„Armes Kind!“ sagte die Schwester voll inniger Teilnahme, setzte
sich an den Bettrand und ergriff die kleinen braunen Hände der
Sophie. „Armes Kind! ’s wird schon wieder besser!“ tröstete sie.
„Mußt halt beten. Kannst beten?“
„Naa!“
„Nit?“ Die Schwester ließ ganz erschrocken die Hände des
Kindes fahren. „Nit beten, nit einmal das Vaterunser?“
„Naa!“
„Und das Ave Maria?“
„Naa!“ Das Kind sagte es zögernd. Es hatte ein unbestimmtes
Gefühl, daß sie etwas nicht kannte, was sie wissen sollte. Und sie
fühlte, daß dieser Mangel ein großer sein mußte, weil die Schwester
so erschreckt tat.
„Soll ich’s dich lehren, das Vaterunser?“ frug die Schwester.
„Ja!“
Da erhob sich die junge Klosterschwester, faltete die Hände des
Karrnerkindes und machte ihm das Zeichen des Kreuzes auf die
Stirne.
Und dann betete sie mit ihm, jedes Wort betonend, halblaut das
Vaterunser im Schweigen der Nacht, in dem stillen Saale, während
die andern Kinder ringsumher ruhig unter ihrer Obhut schliefen.
Betete mit dem halbwilden braunen Mädel, das in dem Frieden des
Klosters seine Zuflucht gefunden hatte, das Vaterunser von der
ersten bis zur letzten Bitte.
Und die Sophie sprach Wort für Wort nach, bis im gedämpften
Flüsterton die letzten Bitten des heiligsten Gebetes der Christenheit
von ihren jungen Lippen durch den nachtstillen Saal gingen. Neben
dem ruhigen Atmen der schlafenden Kinder und gemeinsam mit der
leisen, weichen Stimme der jungen Klosterschwester ... „Und vergib
uns unsere Schuld, als auch wir vergeben unsern Schuldigern.
Führe uns nicht in Versuchung, sondern erlöse uns von dem Übel.
Amen.“
Drittes Kapitel.